[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Joe
All good guys, thanks. Puppetserver 2.7.2-1 installed and clients working.


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/bf2e2e08-8e90-4b0e-8743-82a1908750a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Rob Nelson
Yes, puppetserver 1 was included with later versions of puppet Enterprise
3.x; puppetserver 2 is included with open source and enterprise editions of
puppet 4. I think puppetserver 2.7.2 would align with Puppet 4.7.2 but
you'd want to double check that for the exact minor version.

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

> Yes I am also an RPM man and only chose this route because I thought the
> correct path was puppet with passenger, but reading the docs now I see that
> puppet-passenger is not the path going forward and puppetserver is the way
> now. I installed puppetserver 2.7.2-1puppetlabs1. Is this "puppet 4"?
>
> I am a few days into puppet and so I am a bit confused.
>
>
> 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/ed595ac4-36f0-46e3-8b9c-dd2e0043168f%40googlegroups.com
> 
> .
>
>
> 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/CAC76iT9kVKB7YkjzWA6RY3SNR1c%2B2X_cgK_0EFE-%3DMai-eXbMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Joe
Yes I am also an RPM man and only chose this route because I thought the 
correct path was puppet with passenger, but reading the docs now I see that 
puppet-passenger is not the path going forward and puppetserver is the way 
now. I installed puppetserver 2.7.2-1puppetlabs1. Is this "puppet 4"? 

I am a few days into puppet and so I am a bit confused.

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/ed595ac4-36f0-46e3-8b9c-dd2e0043168f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Rob Nelson
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
>   
>   - Upgrade Puppet Server and PuppetDB
>   
>   - Upgrade 3.x agents
>   
>   - Updating 3.x manifests for Puppet 4.x
>   
>   - Post-upgrade clean-up
>   
>
>
>
> 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
> 
> .
>
>
> 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.


[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Joe
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 
  
  - Upgrade Puppet Server and PuppetDB 
  
  - Upgrade 3.x agents 
  
  - Updating 3.x manifests for Puppet 4.x 
  
  - Post-upgrade clean-up 
  
   
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.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: Puppet Module Gem Dependency

2017-01-02 Thread bryan . stopp
Thank you, this is the information I was looking for. I was not aware that 
such was necessary but looks like i'll be adjusting my design accordingly.

Much appreciated.

-Stopp

On Sunday, December 25, 2016 at 11:38:53 AM UTC-6, bryan...@gmail.com wrote:
>
> Cross-posting from Puppet Developers to get a wider audience.
>
> Hello All,
>
> I'm updating a module that will require a ruby gem (e.g. xml-simple) for 
> one of the custom providers. How does Puppet make sure that the gem is 
> available and installed when the module is installed? Does a *puppet 
> module install* also install any dependent gems? How does it know which 
> gems are needed to install? To where does Puppet install gems?
>
> Or is there something else that consumers of my module will need to do to 
> ensure that the gems are available before they try to use the module's 
> resources?
>
> I tried searching both this group and Puppet Users but didn't find much. 
> May be the key-words aren't right.
>
> I saw/found this PR (https://github.com/puppetlabs/puppet/pull/4220) 
>  which shows a module which requires a gem; but when i try this i still get 
> the error:
>
> Could not autoload puppet/provider/aem_crx_package/ruby: cannot load such 
> file -- xmlsmiple
>
> I've tried the following:
>
> 1) Installing the gem with puppetserver gem install and restarting the 
> master
> 2) Installing it using the gem command in the puppserver bin directory 
> directly (which does not install it to the same place as #1)
> 3) Specifying package (type gem) on the *master* like the example in the 
> PR link
> 4) Specifying package (type gem) on the *agent* like the example in the 
> PR link
>
> I've also tried to add the confines logic as the PR says, however i still 
> get the missing load file. Here's the project i've been trying to update:
>
> https://github.com/bstopp/puppet-aem/tree/feature/package-support 
> 
>
> The provider is here: 
>
>
> https://github.com/bstopp/puppet-aem/blob/feature/package-support/lib/puppet/provider/aem_crx_package/ruby.rb
>
> Any help would be appreciated.
>
> -Stopp
>
>

-- 
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/f9fa6c6c-7bc7-419f-92fe-336bcff8fe03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread vigilmary via Puppet Users


On Mon, 1/2/17, armstrongjerry893 via Puppet Users 
 wrote:

 Subject: Re: [Puppet Users] Re: Array Iteration for Community Edition of 
Puppet(3.8)
 To: puppet-users@googlegroups.com
 Date: Monday, January 2, 2017, 10:55 AM
 
 
 
 On Mon, 1/2/17, Rob Nelson 
 wrote:
 
  Subject: Re: [Puppet Users] Re: Array Iteration for
 Community Edition of Puppet(3.8)
  To: puppet-users@googlegroups.com
  Date: Monday, January 2, 2017, 2:44 AM
  
  Be aware that all
  vendor support for Puppet 3 ended at the end of 2016, and
  Puppet provides their own packages (puppet-agent and
  puppetserver in PC1 replace the older puppet/puppetmaster
  combo) so you don't have to wait on Debian. While you
  should plan your upgrade with care, the lack of any
 support
  should be a motivating factor to start planning
 immediately
  instead of waiting on a third party who isn't negatively
  affected by waiting, like you are.
  On Sun, Jan 1, 2017 at
  4:07 PM Joe <09cic...@gmail.com>
  wrote:
  Thanks R.I.
  
  So iteration works with 3.8x
  with future parser. I am going to avoid 4 until Debian
  builds it into their repositories.
  
  So iteration works but not
  with file_line.. 
  
  Here is the code.
  
  hiera array
  mod1::testdefs:
    -
  'hello'
    - 'there'
    -
  'friends'
  ##mod1  init.pp
  each($testdefs) |$hline| {
     file_line {
  'Append a line to /etc/testfile':
    ensure =>
  present,
    line      =>
  $hline,
     path    =>
  '/etc/testfile',
      }
  }
  
  
  ##error is this
  Error: Could not
  retrieve catalog from remote server: Error 400 on SERVER:
  Evaluation Error: Error while evaluating a Resource
  Statement, Duplicate declaration: File_line[Append a line
 to
  /etc/testfile] is already declared in file
  /etc/puppet/environments/test/modules/mod1/manifests/init.pp:48;
  cannot redeclare at
  /etc/puppet/environments/test/modules/mod1/manifests/init.pp:48
  
  I tried putting the loop in
  the file_line type but that throws another error since it
 is
  not acceptable to file_line.
  
  Is there any way around this
  that you guys are aware of?
  
  Thanks
  
  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/4912ca68-64e4-48d7-906e-923b70aabaa3%40googlegroups.com.
  
  
  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/CAC76iT9wa6R9Bo03tt52zbjaFH1L9-BC2iTyYZOvo%3D-byqAE7Q%40mail.gmail.com.
  
  For more options, visit
 https://groups.google.com/d/optout.
  banca- institutie financiara care efectueaza operatii de
 credit si de plata
 
 -- 
 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/135222332.5322448.1483347330663%40mail.yahoo.com.
 For more options, visit
 https://groups.google.com/d/optout.in noaptea de 23 spre 24 august 1944 armata 

[Puppet Users] Re: Puppet Module Gem Dependency

2017-01-02 Thread Thomas Müller
HI Bryan



> I'm updating a module that will require a ruby gem (e.g. xml-simple) for 
> one of the custom providers. How does Puppet make sure that the gem is 
> available and installed when the module is installed? Does a *puppet 
> module install* also install any dependent gems? How does it know which 
> gems are needed to install? To where does Puppet install gems?
>

*puppet module install *does not install dependent rubygems. Either the 
module manifests should care about or you should care about.



 

>
> I saw/found this PR (https://github.com/puppetlabs/puppet/pull/4220 
> )
>  
>  which shows a module which requires a gem; but when i try this i still get 
> the error:
>
> Could not autoload puppet/provider/aem_crx_package/ruby: cannot load such 
> file -- xmlsmiple
>


this error i've encountered at times when different environments had the 
same module with different types/providers. 

there is official docs about that: 
https://docs.puppet.com/puppet/latest/environment_isolation.html

With puppet 4.8 you can workaround/solve this problem with running 

puppet generate types --environment $name 

for every environment.

- Thomas

-- 
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/e294c209-d491-4672-b506-b1874b75ee1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread armstrongjerry893 via Puppet Users


On Mon, 1/2/17, Rob Nelson  wrote:

 Subject: Re: [Puppet Users] Re: Array Iteration for Community Edition of 
Puppet(3.8)
 To: puppet-users@googlegroups.com
 Date: Monday, January 2, 2017, 2:44 AM
 
 Be aware that all
 vendor support for Puppet 3 ended at the end of 2016, and
 Puppet provides their own packages (puppet-agent and
 puppetserver in PC1 replace the older puppet/puppetmaster
 combo) so you don't have to wait on Debian. While you
 should plan your upgrade with care, the lack of any support
 should be a motivating factor to start planning immediately
 instead of waiting on a third party who isn't negatively
 affected by waiting, like you are.
 On Sun, Jan 1, 2017 at
 4:07 PM Joe <09cic...@gmail.com>
 wrote:
 Thanks R.I.
 
 So iteration works with 3.8x
 with future parser. I am going to avoid 4 until Debian
 builds it into their repositories.
 
 So iteration works but not
 with file_line.. 
 
 Here is the code.
 
 hiera array
 mod1::testdefs:
   -
 'hello'
   - 'there'
   -
 'friends'
 ##mod1  init.pp
 each($testdefs) |$hline| {
    file_line {
 'Append a line to /etc/testfile':
   ensure =>
 present,
   line      =>
 $hline,
    path    =>
 '/etc/testfile',
     }
 }
 
 
 ##error is this
 Error: Could not
 retrieve catalog from remote server: Error 400 on SERVER:
 Evaluation Error: Error while evaluating a Resource
 Statement, Duplicate declaration: File_line[Append a line to
 /etc/testfile] is already declared in file
 /etc/puppet/environments/test/modules/mod1/manifests/init.pp:48;
 cannot redeclare at
 /etc/puppet/environments/test/modules/mod1/manifests/init.pp:48
 
 I tried putting the loop in
 the file_line type but that throws another error since it is
 not acceptable to file_line.
 
 Is there any way around this
 that you guys are aware of?
 
 Thanks
 
 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/4912ca68-64e4-48d7-906e-923b70aabaa3%40googlegroups.com.
 
 
 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/CAC76iT9wa6R9Bo03tt52zbjaFH1L9-BC2iTyYZOvo%3D-byqAE7Q%40mail.gmail.com.
 
 For more options, visit https://groups.google.com/d/optout.
 banca- institutie financiara care efectueaza operatii de credit si de plata

-- 
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/135222332.5322448.1483347330663%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.