salt.modules.puppet

Execute puppet routines

salt.modules.puppet.fact(name)

Run facter for a specific fact

CLI Example:

salt '*' puppet.fact kernel
salt.modules.puppet.facts()

Run facter and return the results

CLI Example:

salt '*' puppet.facts
salt.modules.puppet.noop(tags=None)

Execute a puppet noop run and return a dict with the stderr, stdout, return code, etc. If an argument is specified, it is treated as a comma separated list of tags passed to puppet --test --noop --tags

CLI Example:

salt '*' puppet.noop

salt '*' puppet.noop web::server,django::base
salt.modules.puppet.run(tags=None)

Execute a puppet run and return a dict with the stderr, stdout, return code, etc. If an argument is specified, it is treated as a comma separated list of tags passed to puppet --test --tags: http://projects.puppetlabs.com/projects/1/wiki/Using_Tags

CLI Examples:

salt '*' puppet.run

salt '*' puppet.run basefiles::edit,apache::server

Comments

comments powered by Disqus

Parent topic

Previous topic

salt.modules.publish

Next topic

salt.modules.pw_group