Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class likewise {
- $version = "6.0.0.8330"
- $env = $hostname ? {
- /^q[ds]-.*/ => "prod",
- default => "default"
- }
- file { "/opt/LikewiseOpen-$version-linux-x86_64-rpm.sh":
- owner => "root",
- group => "root",
- mode => "755",
- source => "puppet:///modules/likewise/LikewiseOpen-$version-linux-x86_64-rpm.sh",
- alias => "likewise-source",
- notify => Exec["install-likewise"]
- }
- exec { "install-likewise":
- command => "/opt/LikewiseOpen-$version-linux-x86_64-rpm.sh install",
- require => File["likewise-source"],
- refreshonly => true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment