I'm looking to do this as well. Did you ever have any luck?
On Friday, July 27, 2012 8:44:08 AM UTC-6, James Stremick wrote:
>
>
> I'm looking for a way to stub a parser function within rspec-puppet. This
> function returns data based on a database query and I'd rather not have to
> populate dum
Hello,
question: why is the hiera data source 'location' not looked up for the
class 'autofs'?
For some reason some of my 'parametered' classes are not looked up in all
my hiera data sources:
As you can see in the following log exampt the "location" hiera source is
not looked up for the class
Ok, I get it. First rule of data in modules: you don't talk about data in
modules.
--
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...@goog
Hi,
Im writing a simple ENC in Nodejs.
When I run the script manually with some hostname it returns a valid YAML
(tested on http://yaml-online-parser.appspot.com/)
But when I run it from puppet I gen an error "Could not find node 'xxx';
cannot compile" in the client
and "Empty response for hosnam
Hi!
Couldn't find the answer in the documentation.
Is it possible to source data from Hiera directly into parametrised classes?
To explain:
I have class mcollective(type,middleware_hosts,securityprovider )
Can I define all arguments for this class in Hiera and fetch them all in
one Hiera cal
dahhh, tried to invent a bicycle,
thanks :)
On 3 January 2014 15:08, Felix Frank wrote:
> Hi,
>
> you didn't look hard enough ;-)
>
> http://docs.puppetlabs.com/hiera/1/puppet.html#automatic-parameter-lookup
>
> HTH,
> Felix
>
> On 01/03/2014 03:54 PM, Andrey Kozichev wrote:
> > Hi!
> > Couldn't
Hi,
you didn't look hard enough ;-)
http://docs.puppetlabs.com/hiera/1/puppet.html#automatic-parameter-lookup
HTH,
Felix
On 01/03/2014 03:54 PM, Andrey Kozichev wrote:
> Hi!
> Couldn't find the answer in the documentation.
--
You received this message because you are subscribed to the Google
On Thursday, January 2, 2014 8:28:33 AM UTC-6, Jelle B. wrote:
>
> Hi all,
>
> I have been kinda stuck with the following few issues (all related to one
> and other)
>
> What I want ot ddo is define a couple of standard actions in puppet that I
> can use across all my classes.
> So for example
I defined a custom ruby function called create_type
Then if in my hiera, I define :
localclasses:
- class1:
arg1: value
arg2: value
- class2:
arg1: value
arg2: value
- class3
A simple call to :
$localclasses = hiera_array("localclasses", [])
create_type("
Thanks, interesting.
Do you use this instead of hiera_include + automatic lookups?
Andrey
On 3 January 2014 16:23, Fabrice Bacchella wrote:
> I defined a custom ruby function called create_type
>
> Then if in my hiera, I define :
>
> localclasses:
>- class1:
> arg1: value
>
On Jan 3, 2014, at 5:11 AM, Fabio Sangiovanni wrote:
> Ok, I get it. First rule of data in modules: you don't talk about data in
> modules.
>
Hah! No, I just don't like to reply until I have something substantial to
report. Did you see this thread from a couple of weeks ago? It was only on
Hi,
thanks for your answer :)
No, I'm not suscribed to puppet-dev, just to puppet-users, so I definetly
missed it, my bad.
Glad to hear things are moving!
Thanks again for the follow up and keep up with the good work :)
On Friday, January 3, 2014 6:09:54 PM UTC+1, Eric Sorenson wrote:
>
>
>
>
Le 3 janv. 2014 à 17:56, Andrey Kozichev a écrit :
> Thanks, interesting.
> Do you use this instead of hiera_include + automatic lookups?
yes because
1/ I didn't knew this when I wrote it
2/ It still prefer this way, I think it's more readable and easier to use once
the code is written.
>
I've got the same problem
I'm using the puppet as installed by ubuntu 12.04's package manager. My
puppet version is 2.7.11
On Thursday, January 2, 2014 8:31:55 PM UTC-5, Ryan Coleman wrote:
>
>
> On Mon, Dec 23, 2013 at 12:07 PM, Grant Hardester
>
> > wrote:
>
>> I can't install any modules,
Thank you to both of you for your good advice! :)
On Thursday, January 2, 2014 9:49:30 AM UTC-8, Ramin K wrote:
>
> On 1/2/2014 6:47 AM, Jeff Bachtel wrote:
> >
> > On 01/01/2014 08:38 PM, mjus...@gmail.com wrote:
> >> Hi all,
> >>
> >> I have a role/profile setup that's working quite well.
On Fri, Jan 3, 2014 at 1:50 PM, Jeffrey Johnston wrote:
> I've got the same problem
>
> I'm using the puppet as installed by ubuntu 12.04's package manager. My
> puppet version is 2.7.11
>
Thank you Jeffrey. Puppet 2.7.11 does not come with the Puppet module tool.
That shipped in 2.7.14 but I th
Hi,
I can see how it's tempting to structure the data more strongly and save
quite some typing in the process.
But keep in mind that this makes it harder (if not impossible), to
easily override single arguments in higher hierarchy layers.
By sticking to flat key-value pairs for automatic binding
Le 4 janv. 2014 à 00:56, Felix Frank a écrit :
> Hi,
>
> I can see how it's tempting to structure the data more strongly and save
> quite some typing in the process.
>
> But keep in mind that this makes it harder (if not impossible), to
> easily override single arguments in higher hierarchy la
Folks supporting Windows, do you have an opinion with this warning? This
may have gotten lost with the holiday season so following up. :)
On Wed, Nov 20, 2013 at 12:40 PM, Rob Reynolds wrote:
> With the changes for http://projects.puppetlabs.com/issues/18931 (Don't
> set mode on Windows if not
19 matches
Mail list logo