This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file managed by PUPPET | |
[global] | |
vardir = /var/lib/puppetdb | |
logging-config = /var/lib/puppetdb/log4j.properties | |
resource-query-limit = 20000 | |
[database] | |
classname = org.postgresql.Driver | |
subprotocol = postgresql | |
subname = //localhost:5432/puppetdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=>> cat /tmp/foo.pp | |
node "foo" { | |
class { "bar" } | |
} | |
=>> puppet parser validate --color=false /tmp/foo.pp | |
err: Could not parse for environment production: Syntax error at '}'; expected '}' at /tmp/foo.pp:2 | |
err: Try 'puppet help parser validate' for usage | |
=>> echo $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node "test" { | |
class { "stdlib": stage => setup} | |
file_line { "foo": | |
path => "/tmp/foo.txt", | |
match => "/^monkey.*$/", | |
line => "monkey,doggy", | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in command line: | |
puppet apply -e '$a=inline_template("<%= (1..10).step(2).to_a -%>") notify { "$a" : }' | |
in node: | |
$odd_ch=inline_template("<%= (1..71).step(2).to_a -%>") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: | |
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class stdlib at /puppet/nodes/qa/manifests/base.d/base.pp:25 on node node | |
Environment setup: | |
client - puppet.conf | |
environment = qa_5_2_0 | |
master - puppet.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=>> puppet master --debug --verbose --environment=qa_5_2_0 --compile node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class { "stdlib": } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Class: stdlib | |
# | |
# This module manages stdlib. Most of stdlib's features are automatically | |
# loaded by Puppet, but this class should be declared in order to use the | |
# standardized run stages. | |
# | |
# Parameters: none | |
# | |
# Actions: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-02-14 19:45:15,388 ERROR [BrokerService[localhost] Task-2503] [cursors.AbstractStoreCursor] QueueStorePrefetch121059727 - Failed to fill batch | |
java.io.IOException: Invalid location: 1358:30094100, : java.lang.NegativeArraySizeException | |
at org.apache.kahadb.journal.DataFileAccessor.readRecord(DataFileAccessor.java:94) | |
at org.apache.kahadb.journal.Journal.read(Journal.java:601) | |
at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:817) | |
at org.apache.activemq.store.kahadb.KahaDBStore.loadMessage(KahaDBStore.java:955) | |
at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$5.execute(KahaDBStore.java:493) | |
at org.apache.kahadb.page.Transaction.execute(Transaction.java:728) | |
at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recoverNextMessages(KahaDBStore.java:485) | |
at org.apache.activemq.store.ProxyMessageStore.recoverNextMessages(ProxyMessageStore.java:88) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: xxxxxx | |
at /usr/local/Cellar/git/1.8.3.1/libexec/git-core/git-send-email line 1224. |
OlderNewer