FAQ
hello All,

hello All, i am a puppet newbie and have used few modules from
forge.puppetlabs.com. they are working great. now i want to install
packages like 'sudo' 'tcpdump' etc. is there any moduel which can do that.
i have been reading about installing packages on puppet docs but i only
found command line e.g. 'puppet apply <filename>'

it seems like i can install package like this

touch test.pp
echo 'package { 'sudo': ensure => installed}' > test.pp
puppet apply test.pp

now my question is how can i apply this to specific client node?

and i wanted to use GUI for this purpose. (the way we add class and run
things in live management portal)?

any help will be highly appreciated.

Thanks,

Myk

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAGWVfMnOguTG4S3HxmMp3VO69cqvFFD%3Dd4abkZWrZCkcLEFcaA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Igor Galić at Feb 6, 2014 at 2:54 pm

    ----- Original Message -----

    hello All,
    hello All, i am a puppet newbie and have used few modules from
    forge.puppetlabs.com . they are working great. now i want to install
    packages like 'sudo' 'tcpdump' etc. is there any moduel which can do that. i
    have been reading about installing packages on puppet docs but i only found
    command line e.g. 'puppet apply <filename>'
    it seems like i can install package like this
    touch test.pp
    echo 'package { 'sudo': ensure => installed}' > test.pp
    puppet apply test.pp
    now my question is how can i apply this to specific client node?
    and i wanted to use GUI for this purpose. (the way we add class and run
    things in live management portal)?
    any help will be highly appreciated.
    Generally, the recommendation is to write "modules" for each package:

    sudo/manifests/init.pp
    class sudo {
    package { 'sudo':
    ensure => 'installed',
    }
    }

    This way, you can now use "include 'sudo'" wherever you need a sudo package.
    The advantage being that you can have as many includes as necessary, without
    running into a duplicate resource conflict. http://docs.puppetlabs.com/puppet/latest/reference/lang_defined_types.html#resource-uniqueness
    Thanks,
    Myk
    --
    You received this message because you are subscribed to the Google Groups
    "Puppet Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to puppet-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msgid/puppet-users/CAGWVfMnOguTG4S3HxmMp3VO69cqvFFD%3Dd4abkZWrZCkcLEFcaA%40mail.gmail.com
    .
    For more options, visit https://groups.google.com/groups/opt_out .
    --
    Igor Galić

    Tel: +43 (0) 664 886 22 883
    Mail: i.galic@brainsware.org
    URL: http://brainsware.org/
    GPG: 8716 7A9F 989B ABD5 100F 4008 F266 55D6 2998 1641

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1957915190.127955.1391698465987.JavaMail.zimbra%40brainsware.org.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedFeb 6, '14 at 11:00a
activeFeb 6, '14 at 2:54p
posts2
users2
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase