Currently, I have
/etc/puppet/puppet.conf
on my nodes with
[main]
:
noop = true
[agent]
:
And puppet is running as:
/usr/bin/ruby /usr/bin/puppet agent --verbose
On the Puppet Master:
/etc/puppet/manifests/nodes.pp
node 'basenode' {
include baseclass
}
:
node 'somepattern' inherits basenode {
class { 'abc::def':
randomvariables => "random values"
}
}
However, I am finding it inconvenient for running all assigned classes
on the node
or some subset of the nodes or some subset of classes and nodes, etc., and
only
when I specify they should be run (not 7x24x365, etc.):
What I want is, from the master do something like
some-magical-puppet-command some-list-file
which based on the one-host-per-line some-list-file simply makes it happen
on the remote nodes, running the classes then and only then with the normal
YAML logging and /var/log/messages.
Anyone implemented non-GUI, CLI-based run-from-listfile within Open Source
Puppet?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/f18a560d-e34a-4027-9eca-8770a4423f66%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.