Difference between revisions of "Puppet: Useful commands"
Jump to navigation
Jump to search
(Created page with "== File == <syntaxhighlight> </syntaxhighlight> == User == <syntaxhighlight> user {"teamcity": name => teamcity, ensure => present, shell => "/bin/bash", home => "/hom...") |
(No difference)
|
Revision as of 15:05, 11 March 2015
File
User
user {"teamcity":
name => teamcity,
ensure => present,
shell => "/bin/bash",
home => "/home/teamcity",
managehome => true,
}Package
package{ "java-1.8.0-openjdk":
ensure => installed,
}Exec
exec{ "keyscan2":
user => teamcity,
command => "/usr/bin/ssh-keyscan -p 7999 dvcs"
}