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?