Problem with the 'noop' metaparameter and using the --noop flag

258 views
Skip to first unread message

Galed Friedmann

unread,
Oct 3, 2011, 4:31:48 AM10/3/11
to puppet...@googlegroups.com
Hey,
I've stumbled across a weird thing, wanted to know if it is intentional or maybe a bug..

When using the 'noop' metaparemeter inside a manifest, for example:

file{ "/tmp/test":
ensure => file,
noop => true,
}

Running this in a normal puppet run will run this in noop like it should. When trying to run 'puppet agent --noop', the --noop flag actually reverses the 'noop' metaparameter in the manifest and that resource will actually run, which is kind of dangerous in a production environment, while testing a manifest and assuming noop resources will not be running..

Has this happened to anybody?

Galed.

Stefan Schulte

unread,
Oct 3, 2011, 5:03:41 AM10/3/11
to puppet...@googlegroups.com
I tried to reproduce it with puppet apply but failed. What version are
you running and do you have noop = true or noop = false in you
puppet.conf?

-Stefan

Reply all
Reply to author
Forward
0 new messages