This file contains hidden or 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
# msync update --noop | |
Syncing puppet-base | |
Cloning repository fresh | |
Cloning from [email protected]:weareact/puppet-base.git | |
/Users/gavinw/.rvm/gems/ruby-2.2.1/gems/git-1.2.9.1/lib/git/lib.rb:917:in `command': git clone '--' '[email protected]:weareact/puppet-base.git' './modules/puppet-base' 2>&1:fatal: destination path './modules/puppet-base' already exists and is not an empty directory. (Git::GitExecuteError) | |
from /Users/gavinw/.rvm/gems/ruby-2.2.1/gems/git-1.2.9.1/lib/git/lib.rb:76:in `clone' | |
from /Users/gavinw/.rvm/gems/ruby-2.2.1/gems/git-1.2.9.1/lib/git/base.rb:29:in `clone' | |
from /Users/gavinw/.rvm/gems/ruby-2.2.1/gems/git-1.2.9.1/lib/git.rb:97:in `clone' | |
from /Users/gavinw/.rvm/gems/ruby-2.2.1/gems/modulesync-0.6.0/lib/modulesync/git.rb:44:in `pull' | |
from /Users/gavinw/.rvm/gems/ruby-2.2.1/gems/modulesync-0.6.0/lib/modulesync.rb:61:in `block in run' |
This file contains hidden or 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
bundle exec rspec --require ci/reporter/rspec --format CI::Reporter::RSpecFormatter spec/acceptance/*_spec.rb |
This file contains hidden or 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
#!/usr/bin/env ruby | |
forge 'http://forge.puppetlabs.com' | |
metadata | |
# Pull Nexus repo from Git | |
mod 'cescoffier/nexus', '>=0.0.1', | |
:git => 'https://github.com/cescoffier/puppet-nexus.git' |
This file contains hidden or 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
{ | |
"api_definition": { | |
"active": true, | |
"allowed_ips": [], | |
"api_id": "714007cd6f1347906a9218a0a7ad2213", | |
"auth": { | |
"auth_header_name": "Authorization", | |
"use_param": false | |
}, | |
"auth_provider": { |
This file contains hidden or 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
require ::erlang | |
include ::rabbitmq |
This file contains hidden or 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
# mongo admin --quiet --host 127.0.0.1:27017 --eval "load('/root/.mongorc.js'); db.version()"; echo $? | |
2.6.9 | |
0 | |
# mongo admin1 --quiet --host 127.0.0.1:27017 --eval "load('/root/.mongorc.js'); printjson(db.system.users.find().toArray())"; echo $? | |
Error: 18 { ok: 0.0, errmsg: "auth failed", code: 18 } | |
2015-04-17T14:23:16.317+0100 error: { "$err" : "not authorized for query on admin1.system.users", "code" : 13 } at src/mongo/shell/query.js:131 | |
252 | |
# mongo appdb --quiet --eval "load('/root/.mongorc.js'); db.runCommand({\"createUser\": \"app-user\",\"pwd\": \"baaa8ad52b17ec7fbe0a76893e388061\",\"customData\": {\"createdBy\": \"Puppet Mongodb_user['User app-user on db appdb']\"},\"roles\": [\"dbAdmin\"],\"digestPassword\": false})"; echo $? | |
Error: 18 { ok: 0.0, errmsg: "auth failed", code: 18 } | |
[object Object] |
This file contains hidden or 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
be librarian-puppet install --path=spec/fixtures/modules/ --verbose | |
[Librarian] Ruby Version: 1.9.3 | |
[Librarian] Ruby Platform: x86_64-linux | |
[Librarian] Rubygems Version: 2.4.5 | |
[Librarian] Librarian Version: 0.6.2 | |
[Librarian] Librarian Adapter: puppet | |
[Librarian] Librarian Adapter Version: 1.5.0 | |
[Librarian] Project: /home/card.co.uk/gavinw/Puppet/module-dev/cataloguesvc | |
[Librarian] Specfile: Puppetfile | |
[Librarian] Lockfile: Puppetfile.lock |
This file contains hidden or 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
beaker-2.8.0/lib/beaker/dsl/helpers/host_helpers.rb:61:in `[]': can't convert Symbol into Integer (TypeError) | |
from /home/card.co.uk/gavinw/.rvm/gems/ruby-1.9.3-p550@catsvc/gems/beaker-2.8.0/lib/beaker/dsl/helpers/host_helpers.rb:61:in `block in on' | |
from /home/card.co.uk/gavinw/.rvm/gems/ruby-1.9.3-p550@catsvc/gems/beaker-2.8.0/lib/beaker/shared/host_manager.rb:95:in `run_block_on' | |
from /home/card.co.uk/gavinw/.rvm/gems/ruby-1.9.3-p550@catsvc/gems/beaker-2.8.0/lib/beaker/dsl/patterns.rb:32:in `block_on' | |
from /home/card.co.uk/gavinw/.rvm/gems/ruby-1.9.3-p550@catsvc/gems/beaker-2.8.0/lib/beaker/dsl/helpers/host_helpers.rb:54:in `on' | |
from /home/card.co.uk/gavinw/.rvm/gems/ruby-1.9.3-p550@catsvc/gems/beaker-2.8.0/lib/beaker/dsl/helpers/host_helpers.rb:371:in `curl_on' | |
This file contains hidden or 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
HOSTS: | |
centos-66-x64: | |
roles: | |
- agent | |
platform: el-6-x86_64 | |
hypervisor: vmpooler | |
template: centos-6-x86_64 | |
CONFIG: | |
log_level: verbose | |
type: foss |
This file contains hidden or 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
self.catalog.resources.select { |res| | |
next if res.type == :domain # Skip domain resources, as autorequired above... | |
next if res.type == :user # Skip user resources, as autorequired above... | |
next if res.type == :resourceref # Skip resourceref resources, as that's us... | |
# Match on resource name... | |
debug("Res = #{res[:name]}, type = #{res.type}. Self = #{self[:name]}.") | |
debug("Match = #{res[:name] == self[:name]}.") | |
res if res[:name] == self[:name] | |
}.collect { |res| | |
debug("Collected resource: #{res[:name]}.") |