Is suppose I should mention that, if you have an idempotent script like
the one mentioned,
you can use it directly. Again, not tested, so may bugs.
class ruby_from_src {
file { "/root/ruby_from_src.sh":
content => template("ruby_from_src/ruby_from_src.sh"),
before => Exec[ "/root/ruby_from_src.sh" ],
}
exec { "/root/ruby_from_src.sh":
creates => "/opt/ruby/bin/ruby",
}
}
--
vagn
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.