Re: [Puppet Users] Custom type and provider

2018-09-21 Thread Martin Alfke
> On 21. Sep 2018, at 22:57, Rafael Tomelin wrote: > > Yes, > > Esuqeci had already altered or removed the following lines: > defaultfor: operatingsystem =>: linux > confine: operatingsystem =>: linux defaultfor: kernel => :Linux operatingsystem is something like suse, debian, cen

Re: [Puppet Users] Puppet strings and Readme.md

2018-09-21 Thread Albert Shih
Le 21/09/2018 à 11:08:29+0100, David Mallon a écrit Hi, > Hi Albert, were you able to follow the steps in the documentation for > generating HTML?  Absolutly. I can generate a pretty good html with puppet string generate modules/* But it's different than puppet string server --modulepath

Re: [Puppet Users] Custom type and provider

2018-09-21 Thread Rafael Tomelin
Yes, Esuqeci had already altered or removed the following lines: defaultfor: operatingsystem =>: linux confine: operatingsystem =>: linux But it had no effect Em sex, 21 de set de 2018 às 17:52, Nick Lewis escreveu: > On Fri, Sep 21, 2018 at 1:34 PM Rafael Tomelin > wrote: > >> Hi g

Re: [Puppet Users] Custom type and provider

2018-09-21 Thread Nick Lewis
On Fri, Sep 21, 2018 at 1:34 PM Rafael Tomelin wrote: > Hi guys, > > I am creating a type in custom provider, but I am not able to understand > the following question. > > I created a basic type to understand the concept of things, as follows: > Puppet::Type.newtype(:mydir) do > @doc = "First

[Puppet Users] Custom type and provider

2018-09-21 Thread Rafael Tomelin
Hi guys, I am creating a type in custom provider, but I am not able to understand the following question. I created a basic type to understand the concept of things, as follows: Puppet::Type.newtype(:mydir) do @doc = "First custom type." ensurable do defaultvalues default

Re: [Puppet Users] Puppet strings and Readme.md

2018-09-21 Thread David Mallon
Hi Albert, were you able to follow the steps in the documentation for generating HTML ? On Fri, Sep 21, 2018 at 9:43 AM, Albert Shih wrote: > Hi everyone, > > I try to build my documentation with strings. So for each class it's >

[Puppet Users] [ANN] Palo Alto firewall Module Release

2018-09-21 Thread David Armstrong
Hi All, We’re pleased to announce the immediate availability of a new module supporting Palo Alto firewalls. This is an initial release of the module and is currently unsupported. This early release is an opportunity for us to gather feedback from the community on the module, in order to impro

Re: [Puppet Users] Puppet strings and Readme.md

2018-09-21 Thread Albert Shih
Le 21/09/2018 à 10:43:12+0200, Albert Shih a écrit > Hi everyone, > > I try to build my documentation with strings. So for each class it's > working well. But for each module I'm unable to make strings transform the > README.md and put it some place like the root of each module. > > What I'm lookin

Re: [Puppet Users] Remove key&value from hash

2018-09-21 Thread Albert Shih
Le 21/09/2018 à 13:54:59+0200, Henrik Lindberg a écrit > On 2018-09-20 10:17, Albert Shih wrote: > > Le 19/09/2018 à 16:00:20+0200, Henrik Lindberg a écrit > > > > I know that, and generaly that's would be my solution, but the point is > > apache::vhost got a *lot* of attributes..and it's very

Re: [Puppet Users] Remove key&value from hash

2018-09-21 Thread Henrik Lindberg
On 2018-09-20 10:17, Albert Shih wrote: Le 19/09/2018 à 16:00:20+0200, Henrik Lindberg a écrit On 2018-09-19 15:24, Albert Shih wrote: I'm would like to have a profile for example for apache. profile::apache who can pass some hash to apache. For example let's say I've profile::apach

[Puppet Users] Puppet strings and Readme.md

2018-09-21 Thread Albert Shih
Hi everyone, I try to build my documentation with strings. So for each class it's working well. But for each module I'm unable to make strings transform the README.md and put it some place like the root of each module. What I'm looking is to get a « web site » (bunch of html file) with for each m