remote_directory & notifies

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J

it won't notify subscribers if there are no differences between source and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams <
jasonjwwilliams@gmail.com> wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J

Excellent. That's what I wanted to confirm. If there are no
differences we don't want the subscribers notified, but if even one
file is different we want them notified. Thank you!

-J

On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:

it won't notify subscribers if there are no differences between source and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J

As an FYI to everyone, remote_directory will fire its "notifies"
clauses EVERY time the recipe runs, not just when files in the source
directory change.

-J

On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:

it won't notify subscribers if there are no differences between source and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J

Have you filed a bug?

Adam


Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.com

On Feb 3, 2012, at 2:24 PM, Jason J. W. Williams wrote:

As an FYI to everyone, remote_directory will fire its "notifies"
clauses EVERY time the recipe runs, not just when files in the source
directory change.

-J

On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:

it won't notify subscribers if there are no differences between source and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J

Jason,

I have create a repo to test remote_directory resource. It work like
expected. Flag file is created only when folder is created/updated.

--max

On Fri, Feb 3, 2012 at 3:38 PM, Adam Jacob adam@opscode.com wrote:

Have you filed a bug?

Adam


Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.com

On Feb 3, 2012, at 2:24 PM, Jason J. W. Williams wrote:

As an FYI to everyone, remote_directory will fire its "notifies"
clauses EVERY time the recipe runs, not just when files in the source
directory change.

-J

On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:

it won't notify subscribers if there are no differences between source
and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J

This used to be a bug: http://tickets.opscode.com/browse/CHEF-2354

On Fri, Feb 3, 2012 at 3:51 PM, Max Gorbul max@gorbul.net wrote:

Jason,

I have create a repo to test remote_directory resource. It work like
expected. Flag file is created only when folder is created/updated.

GitHub - mhorbul/remote-directory-notification

--max

On Fri, Feb 3, 2012 at 3:38 PM, Adam Jacob adam@opscode.com wrote:

Have you filed a bug?

Adam


Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.com

On Feb 3, 2012, at 2:24 PM, Jason J. W. Williams wrote:

As an FYI to everyone, remote_directory will fire its "notifies"
clauses EVERY time the recipe runs, not just when files in the source
directory change.

-J

On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:

it won't notify subscribers if there are no differences between source
and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J

The server in question is 0.10.0. I'll upgrade to 0.10.8 and give it
another shot.

-J

On Fri, Feb 3, 2012 at 5:00 PM, Peter Struijk peter@delftblues.net wrote:

This used to be a bug: http://tickets.opscode.com/browse/CHEF-2354

On Fri, Feb 3, 2012 at 3:51 PM, Max Gorbul max@gorbul.net wrote:

Jason,

I have create a repo to test remote_directory resource. It work like
expected. Flag file is created only when folder is created/updated.

GitHub - mhorbul/remote-directory-notification

--max

On Fri, Feb 3, 2012 at 3:38 PM, Adam Jacob adam@opscode.com wrote:

Have you filed a bug?

Adam


Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.com

On Feb 3, 2012, at 2:24 PM, Jason J. W. Williams wrote:

As an FYI to everyone, remote_directory will fire its "notifies"
clauses EVERY time the recipe runs, not just when files in the source
directory change.

-J

On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:

it won't notify subscribers if there are no differences between source
and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the
notifies
attached to the remote_directory block be fired? Thank you in
advance!

-J

Nice memory, Peter. :slight_smile:

Adam


Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.com

On Feb 3, 2012, at 4:00 PM, Peter Struijk wrote:

This used to be a bug: http://tickets.opscode.com/browse/CHEF-2354

On Fri, Feb 3, 2012 at 3:51 PM, Max Gorbul max@gorbul.net wrote:
Jason,

I have create a repo to test remote_directory resource. It work like expected. Flag file is created only when folder is created/updated.

GitHub - mhorbul/remote-directory-notification

--max

On Fri, Feb 3, 2012 at 3:38 PM, Adam Jacob adam@opscode.com wrote:
Have you filed a bug?

Adam


Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.com

On Feb 3, 2012, at 2:24 PM, Jason J. W. Williams wrote:

As an FYI to everyone, remote_directory will fire its "notifies"
clauses EVERY time the recipe runs, not just when files in the source
directory change.

-J

On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:

it won't notify subscribers if there are no differences between source and
target dirs/files

--max

On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:

If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the notifies
attached to the remote_directory block be fired? Thank you in advance!

-J