Re: [Puppet Users] Unknown function validate_bool when trying puppet labs apache class

2015-03-12 Thread William Anderson
I was able to install both packages using the local repository available on 
the VM (/usr/src/forge/):
$ puppet module install /usr/src/forge/puppetlabs-stdlib-*.tar.gz 
--ignore-dependencies
$ puppet module install /usr/src/forge/puppetlabs-concat-*.tar.gz 
--ignore-dependencies

On Sunday, June 2, 2013 at 6:21:37 PM UTC-7, Francisco Reyes wrote:
>
> On Sunday, June 2, 2013 6:48:41 PM UTC-4, Ashley Penney wrote:
> >If you take a look in Modulefile in the root of the module you can see 
> the other dependencies.
>
> Thanks. That will help in future installs.
>
> > You're going to need 'stdlib'
>
> That one fixed it.
>
> > and probably 'concat' as well.
>
> That one I could not install (not found by concat or puppetlabs-concat, 
> but it seems was not needed so not an issue.
>
> > You can install them with either 'puppet module install 
> puppetlabs-stdlib'
>
> Is there a way to list all the available modules? Or basically anything in 
> the git repository should be able to be installed that way?
>
> Thanks much for the help.
> Although there is quite a lot of content and concepts to go over, so far 
> looking very manageable. My only other previous experience with a 
> configuration management system was trying to learn Cfengine. Found that 
> much harder to learn and eventually gave up on it.
>

-- 
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/2b13cbd6-193b-4b04-8ed7-ec4d1b222f71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Unknown function validate_bool when trying puppet labs apache class

2013-06-03 Thread Ashley Penney
On Sun, Jun 2, 2013 at 9:21 PM, Francisco Reyes wrote:

>
> Is there a way to list all the available modules? Or basically anything in
> the git repository should be able to be installed that way?
>

Well, your best bet is actually to flip over from using git to the forge.
http://forge.puppetlabs.com/ is the url and this is where 'puppet module
install x' goes to look.  Here the modules are versioned so you're
(generally) getting known good versions of modules that are tested together.

If you had a blank setup and used puppet module install puppetlabs-apache
it would automatically check for dependencies and fetch all of those as
well.  You can find a ton of other modules on here too.  Sometimes I
install them from the forge and sometimes I google those modules and find
them on git and go right to the source, depending on when they were last
released.  (Sometimes people add them to forge and forget to ever update
them).

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Unknown function validate_bool when trying puppet labs apache class

2013-06-02 Thread Francisco Reyes
On Sunday, June 2, 2013 6:48:41 PM UTC-4, Ashley Penney wrote:
>If you take a look in Modulefile in the root of the module you can see the 
other dependencies.

Thanks. That will help in future installs.

> You're going to need 'stdlib'

That one fixed it.

> and probably 'concat' as well.

That one I could not install (not found by concat or puppetlabs-concat, but 
it seems was not needed so not an issue.

> You can install them with either 'puppet module install puppetlabs-stdlib'

Is there a way to list all the available modules? Or basically anything in 
the git repository should be able to be installed that way?

Thanks much for the help.
Although there is quite a lot of content and concepts to go over, so far 
looking very manageable. My only other previous experience with a 
configuration management system was trying to learn Cfengine. Found that 
much harder to learn and eventually gave up on it.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Unknown function validate_bool when trying puppet labs apache class

2013-06-02 Thread Ashley Penney
If you take a look in Modulefile in the root of the module you can see the
other dependencies.  You're going to need 'stdlib' and probably 'concat' as
well.  You can install them with either 'puppet module install
puppetlabs-stdlib' type commands or just grab them from git also.


On Sun, Jun 2, 2013 at 6:34 PM, Francisco Reyes wrote:

> New to puppet.
>
> I am trying to use the Apache class from puppet labs found here:
> https://github.com/puppetlabs/puppetlabs-apache
>
> When it runs agent --test on my test environment I get:
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Unknown function validate_bool at
> /etc/puppet/modules/apache/manifests/init.pp:43 on node slave
>
> Running on Ubuntu 12.04 with puppet 2.7.11-1ubuntu2.2 installed from the
> default Ubuntu repository .
>
> Looking in the files from the class I see calls to the function
> validate_bool, but don't see it defined.
>
> If there some base/pre-requisite class that I needed? Don't see any
> mention in the readme file. Also, these classes from puppetlabs github, is
> there a way to tell what version they would work with?
>
> --
> 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 post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Unknown function validate_bool when trying puppet labs apache class

2013-06-02 Thread Francisco Reyes
New to puppet.

I am trying to use the Apache class from puppet labs found 
here: https://github.com/puppetlabs/puppetlabs-apache

When it runs agent --test on my test environment I get:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Unknown function validate_bool at 
/etc/puppet/modules/apache/manifests/init.pp:43 on node slave

Running on Ubuntu 12.04 with puppet 2.7.11-1ubuntu2.2 installed from the 
default Ubuntu repository .

Looking in the files from the class I see calls to the function 
validate_bool, but don't see it defined.

If there some base/pre-requisite class that I needed? Don't see any mention 
in the readme file. Also, these classes from puppetlabs github, is there a 
way to tell what version they would work with? 

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.