Displaying 20 results from an estimated 300 matches similar to: "Calling a "subclass" correctly in a node def?"
2011 Dec 19
7
When the lint accumulates...
So some of you may be aware that Tim Sharpe from GitHub wrote a Puppet
linting tool:
$ gem install puppet-lint
$ puppet-lint mymanifest.pp
Source: https://github.com/rodjek/puppet-lint
The linting tool checks Puppet code for "best practice" based on the
Puppet Labs Style Guide:
http://docs.puppetlabs.com/guides/style_guide.html
A lot of us have been using puppet-lint (and puppet
2013 Jan 29
10
Puppet service
HI All,
Can any anyone please help me with attached screenshot.
Actually i am not able to lauch puppet dashboard and when i have tried to
running below command ,getting error.
puppet resource service puppet ensure=running enable=true
--
Thanks and Regards,
Mamta Garg
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe
2008 Oct 07
1
can't find mysqlclient : asterisk-addons-1.6.0
Hi All,
I can not install the asterisk-addons as it thinks there is no
mysqlclient installed. I have installed mysql, mysql-server and
mysql-devel and I am still unable to install the addons. I am running
CentOS 5.2 i386.
Please somebody help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Jun 27
5
Is it possible to pass extra flags to Puppet via rspec?`
Hello,
I''m writing my first puppet function rspec test and am having a problem
which I don''t see how to solve.
The function (and the test) involve access to files through the File
Server. In order for the function (and the test) to work I need to pass
"--fileserverconf=fileserver.conf" parameter to Puppet.
So far I haven''t found a way to do that.
If I
2006 Mar 30
2
Rails lost connection to MySQL server!
I getting this error on my project
Mysql::Error: Lost connection to MySQL server
during query: SHOW FIELDS FROM ...
i think that it''s because the mysql database don''t allow persistent
connections .....
any idea?
thanks
--
_________
Noel R. Morais
2005 Jan 04
2
rails on windows?
hi all,
i''m new at rails, new at ruby.
i''ve installed ruby (1.82.) and rails on windows 2000
so, two questions.
one:, the mysql gem is giving me a "Failed to build gem native
extension." by the way, i also get this error when installing on my linux
box at home.
two: can i run rails on IIS?
--****Florida has a very broad Public Records Law. Virtually all
2012 Sep 24
7
augeas only add if doesn't exist
Hello,
I''m trying to add an entry to /etc/hosts.allow only if the entry for
''client'' (daemon) does not already exit.
In this #puppet log:
http://www.puppetlogs.com/puppet/%23puppet-2012-05-03.log.html
rodjek links a gist which should do exactly that:
https://gist.github.com/18c50d8800840696bac0
But I can''t get it to execute with augtool:
augtool> set
2005 Jan 22
6
Still having config problems
Hi,
Having completely failed to sort out my apache 500 error, I thought I
would work through the "Rolling with Ruby on Rails" tutorial at
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html
I am using webrick, not apache - and still getting 500 errors.
When I get to page 4 where
http://127.0.0.1:3000/recipe/new
should give me a data entry screen, instead I get...
2013 Mar 28
3
Staging content from modules for temporary use by resources
Hello,
I would like to find a few to use files available in a module for the
execution of a particular resource, without having to stage the file
explicitly onto the client and possibly having to clean it up afterwards.
(This could also apply to content coming from templates.)
The use-cases I have in mind are: running a SQL file (to set up some
content in a database), extracting an archive
2013 Mar 27
6
puppet 3.x, rubygem pkg can't be found on a RHEL 6.4
Hi,
I followed puppetlab procedure to install open source version of puppet
agent 3.x.
It works for CentOS 6.4 but not RHEL 6.4, anyone has pointer where I missed
?
[root@mon04 ~]# yum install puppet
Loaded plugins: product-id, refresh-packagekit, security,
subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-6-server-cf-tools-1-rpms
2007 Mar 09
1
Cdr_mysql compile question
I'm reading voip-info.org
http://www.voip-info.org/wiki-Asterisk+cdr+mysql
Sorry if this is a dumb question, but:
It says I need mysql and mysql-devel to compile cdr_mysql, but I don't want
mysql on my asterisk box I want to connect to a remote mysql server. Can I
use mysqlclient and mysqlclient-devel?
Thanks,
David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer Safe Data, Inc.
(910)
2007 Jan 05
1
addons 1.4 and cdr_addon_mysql not installed !
Hi,
I have installed asterisk on Ubuntu 6.06 server CD
All required packages has been installed and upgraded
When start "sudo make menuselect" from addons, I can't select all addons
that require mysqlclient (app_addon_sql_mysql, cdr_addon_mysql,
res_config_mysql).
If I run "apt-cache search mysqlclient", I find the following installed
packages:
libmysqlclient15-dev
2012 Sep 13
4
puppet-lint
Hi everyone,
Is it possible not to notify error with puppet-lint when "trailing
whitespace" are found in a comment line?
Just asking.
Regards,
JM
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
2006 Apr 27
5
mysql lost connection
Hi,
I''m lost and my mysql connection as well... I got this
error in my production.log:
ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL
server during query: SET NAMES ''utf8''):
Config:
Debian Sarge (last updated), Rails 1.1.2, Webrick,
mysqld Ver 4.1.11-Debian_4sarge2 for pc-linux-gnu on i386
apache2 with mod_rewrite and webrick as proxy on 8080.
2011 Apr 01
4
if statement: 'true' from left operand of 'in' expression is not a string
Hi *,
using the following snippet of code ..
------------------------------------------------------------------------
[...]
7 if ! ($installplugins in [ true, false ]) {
8 fail("nrpe installplugins parameter must be true or false")
9 }
[...]
24 if $installplugins == true {
25 package { ["mypluginpackage",
26 ensure => installed }
27
2011 Dec 19
4
Learn from MY Mistake: "false" != false
Sharing my stoopid mistake in the hopes of saving someone else the same grief:
I had a boolean toggle that was not performing as expected.
Long story short: I had put quotes around the word "false"
class { ''foo'' : boolFlag => "false" } was coming up TRUE
To fix it, lose the quotes
class { ''foo'' : boolFlag => false }
“Sometimes I
2012 May 25
4
rspec first steps troubles
I try do implement tests for my puppet code and was playing with
rspec-puppet but the following code gives me errors
require ''spec_helper''
describe ''irqbalance'' do
it { should include_class(''irqbalance'') }
it { should include_class(''irqbalance::data'') }
it { should
2013 Oct 21
3
how to pass the value to custom function?
Dear all,
I''m trying this thing for a while but can''t figure out what am I doing
wrong.
Here is my sample function (which is similar to the original one, except
for the hash, which is generated dynamically in the original one):
module Puppet::Parser::Functions
> newfunction(:am_running_oss, :type => :rvalue ) do |args|
>
> oss =
2013 May 29
1
augeas for hosts.allow
Hi
I am trying to configure hosts.allow using augeas with puppet. I can add a
ip range if process exists with this code
augeas { "Add ${name} to ${process}":
context => "/files/etc/hosts.allow",
changes => "set *[process=''${process}'']/client[last()+1] ${name}",
onlyif => "match
2002 Sep 13
3
MySQL access
I?ve installed by Webmin a MySQL database in my Suse Linux 8.0. I?ve
already created tables, inserted new data, exclude or edited any record
on it but in Webmin admin module. How can I access this database from a
windows workstation? I?ve tried to establish ODBC connection supplied by
MySQL but it seems don?t find any connection.
Thanks
Gilberto Antonangeli
Gerente de Inform?tica / IT