Classes from inside classes can float outside of inheritance rules. Or
something like that.
Meaning if you have classes A and B and inside A you declare class C,
A -> B will not mean C -> B.
To solve this puppet has created the anchor function and after that
the contain function.
Read this for a
Morning all
I'm trying to add some functionality to my Puppet-Glassfish[1] module to
support providing an alternative download mirror.
I've made the initial code changes in caa445631d[2], however a couple of my
tests are now failing[3].
I believe the issue is due to using the '$glassfish::ver
Hello!
My code is basically this commit
https://github.com/vide/facter/commit/c4060af48074c372a63409d81b836b79ff5d0427
This patch works smoothly if I overwrite the files in /usr/lib/ruby/vendor_ruby/
Then I've put those 4 files in
my_module/lib/facter/partitions.rb
my_module/lib/facter/util/pa
Thanks, Felix. I'm working on that now. I'll stick more information in
here if I come up with something.
On Sunday, January 11, 2015 at 6:52:01 PM UTC-5, Felix.Frank wrote:
>
> It sounds as if your master is doing Something Weird when it is launched
> during startup of you Vagrant instance. W
Thanks, Felix.
On Monday, January 12, 2015 at 7:57:05 AM UTC-5, Drew wrote:
>
> Damn! That was it. Removed my include and it works exactly like it
> should.
>
> On Sunday, January 11, 2015 at 6:46:20 PM UTC-5, Felix.Frank wrote:
>>
>> On 01/10/2015 02:39 PM, Christopher Wood wrote:
>> > On Fri
Damn! That was it. Removed my include and it works exactly like it should.
On Sunday, January 11, 2015 at 6:46:20 PM UTC-5, Felix.Frank wrote:
>
> On 01/10/2015 02:39 PM, Christopher Wood wrote:
> > On Fri, Jan 09, 2015 at 01:51:28PM -0800, Drew wrote:
> >> >I'm fooling around with some de
Hi Varun,
Please refer to this dashboard API details:
https://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html#node-tasks
-HTH
Kaustubh
On Friday, January 9, 2015 at 3:36:59 PM UTC-5, va...@pinterest.com wrote:
>
> Hi,
>
> I am trying to figure out an API to add nodes to the puppet dashbo
On Friday, January 9, 2015 at 3:34:41 PM UTC-6, RIlindo Foster wrote:
>
> It seems you are using this as a way to classify nodes. Your best option
> is to use an ENC (Foreman or Hiera) to classify your nodes, ideally using
> the roles and profiles pattern to abstract your modules.
>
>
I stron
>
> I'd probably recommend trying to write a test for one of your
> real-world puppet modules as I think the issue is with the Puppet code
> more than the tests.
>
Thanks for the feedback and links Stephen and Gareth.
Gareth's comment sums things up nicely. I'm dealing a large amount of
Pu
On Saturday, January 10, 2015 at 11:51:27 AM UTC-6, Brian Lock wrote:
>
> If the puppet agent isn't running on a server and you issue the command
> sudo /etc/init.d/puppet stop, and you have also disables execute access on
> the file /etc/init.d/puppet by chmod -x , why does puppet run from th
On 01/12/2015 01:22 PM, Davide Ferrari wrote:
> Hello!
>
> My code is basically this commit
>
> https://github.com/vide/facter/commit/c4060af48074c372a63409d81b836b79ff5d0427
>
> This patch works smoothly if I overwrite the files in
> /usr/lib/ruby/vendor_ruby/
All right, awesome. Thanks for t
On Monday, January 12, 2015 at 5:00:04 AM UTC-6, Gavin Williams wrote:
>
> Morning all
>
> I'm trying to add some functionality to my Puppet-Glassfish[1] module to
> support providing an alternative download mirror.
>
> I've made the initial code changes in caa445631d[2], however a couple of
>
mounts:
1_usr_sap:
device: /dev/.
mountpoint: /usr/sap
2_usr_sap_lmp:
device: /dev/
mountpoint: /usr/sap/LMP
define mountenty(){
# some mount ressource
# some directory resource
}
class sysctl::m
I now mannaged to create the file accourately using the concat ressource.
sort() also did the job.
2015-01-10 18:00 GMT+01:00 Michael Wörz :
> Thanks a lot. i will try this on monday
>
> 2015-01-09 17:08 GMT+01:00 Stephen Marlow :
>
>> Yknow, completely disregard the above answer :p
>>
>> I was l
John
Cheers for the response.
I guess I could have explained the issue a bit better :)
By pattern, I'm referring to using a params.pp class with variable
interpolation... I.e.
# --glassfish/manifests/params.pp#25
$glassfish_download_mirror = "http://download.java.net/glassfish/
> ${glassfis
Solved - tags do the job
define mountentry($device,$mountpoint,$order) {
@notify{"$name":
tag => ["mount$order"],
}
}
class sysctl::mounts() {
$m=$yaml['mounts']
create_resources(mountentry,$m)
Notify <| tag == 'mount1' |> -> Notify <| tag == 'mount2' |>
}
2015-01-12 16:10 GMT+01
Ok, I'll try to see if I can find a solution by myself meanwhile.
Maybe the override should be done as you say, so, in a different
fashion than the upstream patch.
Cheers
On Mon, Jan 12, 2015 at 3:55 PM, Felix Frank
wrote:
> On 01/12/2015 01:22 PM, Davide Ferrari wrote:
>> Hello!
>>
>> My code i
On 01/12/2015 05:03 PM, Michael Wörz wrote:
> Solved - tags do the job
>
> define mountentry($device,$mountpoint,$order) {
> @notify{"$name":
> tag => ["mount$order"],
> }
> }
>
> class sysctl::mounts() {
> $m=$yaml['mounts']
> create_resources(mountentry,$m)
> Notify <| tag == 'mou
generally, yes.
but in this case
2015-01-12 19:18 GMT+01:00 Felix Frank :
> On 01/12/2015 05:03 PM, Michael Wörz wrote:
> > Solved - tags do the job
> >
> > define mountentry($device,$mountpoint,$order) {
> > @notify{"$name":
> > tag => ["mount$order"],
> > }
> > }
> >
> > class sysctl::m
generally yes,
but in this case the names are only examples and dont know which names are
defined in the database.
so the order tag is a more generic way to seperate data from code.
but anyway - thanks
2015-01-12 19:18 GMT+01:00 Felix Frank :
> On 01/12/2015 05:03 PM, Michael Wörz wrote:
> > S
Ah, I see.
Still, out of curiosity - have you tried Mountentry<| order == 1 |> ...?
On 01/12/2015 07:42 PM, Michael Wörz wrote:
> generally yes,
> but in this case the names are only examples and dont know which names
> are defined in the database.
> so the order tag is a more generic way to sepe
no, but thats a good hint since i have a mount and directory ressource in
the defined type and i wouuld have ton define a orer for both
Mountentry<| title == '1_usr_sap' |>
> ->
> Mountentry<| title == '2_usr_sap_lmp' |>
looks better
2015-01-12 19:43 GMT+01:00 Felix Frank :
> Ah, I se
I wanted to remind everyone that we are holding our third Puppet
Contributor Summit on February 4. We are holding it right after FOSDEM
/ Config Management Camp in Gent, Belgium, and I hope to see many of
you there!
If you would like to attend, please register (attendance is free) to
help us plan
I am trying to assign classes to node either through site.pp or a custom
ENC and I am getting nowhere.
The nodes successfully receive empty catalogs from the master.
No signs of errors that I can see in any of the log files - the system just
silently fails to apply my settings.
For ENC, I foll
24 matches
Mail list logo