That looks like it.
https://docs.puppet.com/puppet/4.8/install_linux.html#for-apt-based-systems
Specifically handles installation for apt; I'm a die hard rpm fan so I
can't help beyond that link, sorry.

On Mon, Jan 2, 2017 at 1:25 PM Joe <09cic...@gmail.com> wrote:

> Thanks for the heads up Rob. I am using this repository from puppetlabs.
> puppetlabs-release-pc1-trusty.deb
>
> In this repository the latest is 3.8.7. You mentioned puppet releases
> puppet-agent and puppetserver version 4 in PC1. Even when I manually look
> in the repo there is no trace of puppetmaster 4 or puppet-agent 4. I
> manually browsed the main and PC1 package lists and I don't see the
> puppetmaster 4 or puppet-agent 4, probably I am missing something. Do you
> know where I can find the packages?
>
> On docs.puppet.com I find the links for upgrading from 3 to 4, is this
> the recommended material for upgrading?
>
>
>    - *Upgrade: From Puppet 3.x*
>
>    - Get upgrade-ready
>       <https://docs.puppet.com/puppet/4.8/upgrade_major_pre.html>
>       - Upgrade Puppet Server and PuppetDB
>       <https://docs.puppet.com/puppet/4.8/upgrade_major_server.html>
>       - Upgrade 3.x agents
>       <https://docs.puppet.com/puppet/4.8/upgrade_major_agent.html>
>       - Updating 3.x manifests for Puppet 4.x
>       <https://docs.puppet.com/puppet/4.8/lang_updating_manifests.html>
>       - Post-upgrade clean-up
>       <https://docs.puppet.com/puppet/4.8/upgrade_major_post.html>
>
>
>
> Thanks again
>
>
> On Saturday, December 31, 2016 at 10:05:49 PM UTC-7, Joe wrote:
>
> Hi All
>
> Puppet v3.8.7 community on Ubuntu 14 LTS
>
> I have been attempting to write a class to use the "file_line" type
> reference from the stdlib library to add multiple lines to a file if these
> lines are not present.
> I was attempting to do this with iteration using the each function and
> tried with static and Hiera arrays. After a few hours of failure I came
> across the docs for Puppet Enterprise that say this iteration capability
> was introduced in Puppet 4.
>
> It looks like this, testdefs is an array in Hiera defined in the nodes
> yaml config
>
>  each($testdefs) |$hline| {
>    file_line { 'Append a line to /etc/testfile':
>       ensure => present,
>       line      => "$hline",
>        path    => '/etc/testfile',
>     }
> }
>
> To be clear I am trying to..
> iterate through a Hiera array
> pass each array member to the file_line type
> append this member to a file if it does not exist.
>
> Is there a way to do this with Puppet 3.x or should I just make a static
> class with multiple file_line types?
>
> Thanks
>
>
>
>
>
>
>
>
>
>
> --
>
>
> 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+unsubscr...@googlegroups.com.
>
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/362627c8-55eb-45e3-9410-696dd0283f96%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/362627c8-55eb-45e3-9410-696dd0283f96%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
Rob Nelson

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC76iT9xRywwiq8R8bXyeGUZnuNnbKvn_YxtfJuu48bA3-Jkqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to