Hi,
I am currently evaluating Puppet Enterprise 2.7. I would like to know more
about debugging Puppet.
- Can we start Puppet Client in verbose and debug mode as we do in Puppet
(opensource) with -d -v mode.
- I tried to change the server.cfg file with log level verbose, Still
I don't ge
Was this issue ever resolved? I've been experiencing the same symptoms,
ever since I switched over to postgresql.
Interestingly enough, when I run *java -jar
/usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.ini * instead
of the init script, puppetdb fires up with no problems.
An
Thanks for perply
I had write perl script to get metrics from log file ( /var/log/messages in
rhel, /var/log/syslog in debian )
http://pastebin.com/u0HZNesZ ( it is for xymon monitoring system )
Also, at other forum, i get 2 advice:
1) It is able to get most of this metrics at agent side, fro
On Mon, Dec 17, 2012 at 6:46 AM, Nikola Petrov wrote:
> You have a bunch of options for this if I understand you well. You can
> one of the following:
>
> * use augeas with virtual resources
> * use the concat module
Understood. I'm leaning heavily towards augeas at this point
(although I'm a bit
Thank you for the recommendations. I am going to give them a try and see
how they work out in production.
Thanks!
Zane
On Thursday, December 13, 2012 5:06:54 PM UTC-8, Zane Williamson wrote:
>
> Has anyone else ran into this?
>
> debug: /Stage[main]/Mcollective/File[/var/tmp/facts.yaml]/content
On 18 December 2012 14:11, Dawn Foster wrote:
> On Mon, Dec 17, 2012 at 7:43 PM, Peter Brown wrote:
> > Any chance of using my existing puppet forge account to sign in to that
> > site?
>
> Unfortunately, not yet. I'm planning to get the user accounts integrated
> between
> Forge, Ask, bug track
Hi,
How to integrate GitHub with Puppet master or agent.
My requirement is I have file in GitHub Repository with different versions,
I want to download latest file from GitHub Repository and need to execute
it. Is it possible to do these steps using puppet master or agent script.
If possible can
On Mon, Dec 17, 2012 at 7:43 PM, Peter Brown wrote:
> Any chance of using my existing puppet forge account to sign in to that
> site?
Unfortunately, not yet. I'm planning to get the user accounts integrated between
Forge, Ask, bug tracker and other puppet stuff sometime next year along with
bette
Any chance of using my existing puppet forge account to sign in to that
site?
On 18 December 2012 09:17, Jeff McCune wrote:
> On Mon, Dec 17, 2012 at 2:13 PM, Dawn Foster wrote:
>
>> Today, we are launching the beta version of a new question and answer
>> site where you can ask any Puppet ques
On 18 December 2012 10:21, Philip Brown wrote:
>
>
> On Monday, December 17, 2012 3:18:26 PM UTC-8, Jakov Sosic wrote:
>>
>>
>>
>> Puppet is not procedural but declarative language, so you can only
>> declare states.
>
>
> Except that is not strictly true.
> There is an early-exit "fail" directiv
Do you have a habit of making installs and deployments easy and
repeatable? Do you cringe when you see someone doing manual
deployments? Do you take source code and massage it into a released or
deployed product? Do you strive to make the initial installation of a
product as smooth as possible?
We
Thank you for the reply, however I do not see where that resolves the
dependency problem. Let me paste what I've been playing with as maybe that
will clarify my problem:
class admins($username, $ensure='present') {
if $ensure == 'present' {
$dirensure = 'directory'
}
elsif $ensure == '
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/pip.rb
this is pip's source file.
in the end, you can see this
private
def lazy_pip(*args)
pip *args
rescue NoMethodError => e
if pathname = which('pip')
self.class.commands :pip => pathname
pip
On Monday, December 17, 2012 3:18:26 PM UTC-8, Jakov Sosic wrote:
>
>
>
> Puppet is not procedural but declarative language, so you can only
> declare states.
Except that is not strictly true.
There is an early-exit "fail" directive that can be used conditionally.
So why not a conditional ear
On Monday, December 17, 2012 1:50:38 PM UTC-8, Steven VanDevender wrote:
>
> puppet-mode is kind of rudimentary but I know
> the author and he would probably be amenable to improving it, if you
> allow him some time.
>
that would be most appreciated
--
You received this message because yo
Please try this PR:
https://github.com/puppetlabs/puppet-dashboard/pull/150
On Fri, Dec 14, 2012 at 11:03 AM, wrote:
>
> Change ./app/views/reports/search.html.haml like this :
>
> .item
> - if flash[:errors].present?
>
> %div{:class => "section error"}
> %h3 Errors
>
That's a great question! None that I know of, but I could put together some
screenshots.
On Sat, Dec 15, 2012 at 4:12 PM, Jakov Sosic wrote:
> On 12/11/2012 12:33 AM, Aaron Stone wrote:
>
>> Update: thanks to help from GitHub users @igreg and @astratto, Puppet
>> Dashboard Rails 3 is now fully
On 12/17/2012 09:02 PM, Philip Brown wrote:
Hi folks,
I've poked around the language reference, and havent found anything on
this so far. I'd like to be able to force a clean early exit from a
module. WITHOUT encasing the whole body of the module in an if statement.
Puppet is not procedural bu
On Mon, Dec 17, 2012 at 2:13 PM, Dawn Foster wrote:
> Today, we are launching the beta version of a new question and answer
> site where you can ask any Puppet questions or provide answers for
> questions from other Puppet users and developers.
>
I bet nobody has a question that can stump the en
I do not think what you want exists. It makes sense, as a class is not a
procedural list of commands to execute, but a collection of resources, so a
way to "exit early" does not really exist. If you just want to avoid the
extra indentation and potentially misplaced closing bracket, how about thi
Hello,
I'm trying to get puppet-dashboard installed on a CentOS 6.3 machine
running puppet v3.0.1.
I'm following the puppet-dashboard documentation here:
http://docs.puppetlabs.com/dashboard/manual/1.2/configuring.html
In the documentation page linked above, it says:
Puppet uses SSL certifica
Today, we are launching the beta version of a new question and answer
site where you can ask any Puppet questions or provide answers for
questions from other Puppet users and developers.
The idea is to give you another way to ask questions if you aren’t a
fan of mailing lists or IRC. It’s similar
Hi,
I would like to set up an additional puppet master but have the CA server
handled by only 1 puppet master. I have set this up as per the
documentation here:
http://docs.puppetlabs.com/guides/scaling_multiple_masters.html
I have configured my second puppet master as follows:
[main]
...
ca
I was doing this all wrong as Peter pointed out.
I had to make sure of the following:
1 - auth.conf
any auth config for facts and inventory on the puppet master had to go
above this entry
# this one is not stricly necessary, but it has the merit
# of showing the default policy, which is deny
Make sure that puppet-dashboard-workers service is running, otherwise all
hosts will appear unresponsive and your pending tasks will keep increasing.
On Thursday, November 8, 2012 5:51:36 AM UTC-8, Karim wrote:
>
> Hi guys,
>
> I have a strange situation. I've got 1 dashboard MySQL DB accessed f
Philip Brown writes:
>
>
> On Monday, December 17, 2012 1:02:20 PM UTC-8, Steven VanDevender wrote:
> >
> > Philip Brown writes:
> > > ...
> > > So, one to change the tabstops thing, and one to make the closing brace
> > > outdent?
> >
> > You might look at the customization group
On Monday, December 17, 2012 1:02:20 PM UTC-8, Steven VanDevender wrote:
>
> Philip Brown writes:
> > ...
> > So, one to change the tabstops thing, and one to make the closing brace
> > outdent?
>
> You might look at the customization group for "puppet", since that
> should list all the va
[snip]
While it is easy to work around this by top-scoping the class, some form of
> documented warning might prevent some hairpulling :)
>
Mostly for posterity, this behaviour is indeed considered buggy ("a major
outstanding design issue") and is in fact documented:
*
http://docs.puppetlabs.com
Philip Brown writes:
> I enjoy the puppet mode that comes with emacs by default.
> However... people in our organization prefer a slightly different formating
> standard.
>
> Would anyone be able to tell me what tweaks I could put in my .emacs file,
> to make it so that code gets autoforma
I enjoy the puppet mode that comes with emacs by default.
However... people in our organization prefer a slightly different formating
standard.
Would anyone be able to tell me what tweaks I could put in my .emacs file,
to make it so that code gets autoformatted as
class foo {
TAB line here
TAB
Trying the firewall module and we're getting a strange error.
/var/lib/puppet/lib/puppet/provider/firewallchain/iptables_chain.rb:34:
warning: already initialized constant Mapping
/var/lib/puppet/lib/puppet/provider/firewallchain/iptables_chain.rb:37:
warning: already initialized constant Inter
Hi folks,
I've poked around the language reference, and havent found anything on this
so far. I'd like to be able to force a clean early exit from a module.
WITHOUT encasing the whole body of the module in an if statement.
What I'm looking for:
class somemodule {
#no this isnt going to be a g
This works (was added sometime during 2.6 cycle I think).
class foo ($stage = main) {
...
}
include foo
On Dec 14, 2012 9:52 PM, "Jakov Sosic" wrote:
> Hi.
>
> I am wondering why can't run stages get set inside the class?
>
> For example:
>
> class foo {
> stage main
> }
>
> Because, if I w
I've been working on getting spec tests on all of my modules and am down to
ones that use hiera and don't have any reasonable defaults. It looks like
there is a project on GH (https://github.com/amfranz/rspec-hiera-puppet) that
is designed to fill this need, but for the life of me I cannot make
Hi,
I have found when working with user accounts it is very beneficial to
create a defined type that allows you to wrap alot of functionality into
one definition, thus reducing manual work and being more explicit with your
requirements for user data and account configuration when they are define
I have a home directory being created and not removed as a user is
added/removed. That is desired behavior. However, there are certain
files/dirs in that home directory that I want to always remove if the user
gets marked absent. Unfortunately, the dependencies lead back to the home
directory,
On Sunday, December 16, 2012 6:20:10 PM UTC-6, Alex Harvey wrote:
>
>
>
> On Tuesday, October 2, 2012 9:28:09 AM UTC+10, Matthaus Litteken wrote:
>>
>> The puppet 3 gem requires hiera, whose latest version requires json,
>> which can be either json (a c extension), or json_pure (a ruby
>> imple
Sincerely,
Pengfei Xue
在 2012-12-17,下午8:03,krishna bhaskara rao 写道:
> Hi,
>
> I am using below script to move files from puppet master to puppet agent.
> file { "/usr/local/temp":
>ensure => "file",
>source => "puppet:///files/temp",
> mode =>
On 12/17/2012 03:44 PM, jcbollinger wrote:
> * Because the run stage in which a class should be applied isn't a
> characteristic of the class itself, but rather of how it is used
Yeah, that makes sense.
> Aha! My own biggest objection to run stages, straight out of someone
> else's mouth
You have a bunch of options for this if I understand you well. You can
one of the following:
* use augeas with virtual resources
* use the concat module
* use the standard template function with multiple arguments; look at
http://docs.puppetlabs.com/guides/templating.html and scroll down to
"
On Friday, December 14, 2012 2:52:03 PM UTC-6, Jakov Sosic wrote:
>
> Hi.
>
> I am wondering why can't run stages get set inside the class?
>
> For example:
>
> class foo {
> stage main
> }
>
A few answers from different perspectives:
- Because the run stage in which a class should
Hi,
I am using below script to move files from puppet master to puppet agent.
file { "/usr/local/temp":
ensure => "file",
source => "puppet:///files/temp",
mode => 777,
}
If I use this script, file always transferring from master to agent.
But my req
42 matches
Mail list logo