Skip to content

Instantly share code, notes, and snippets.

C:\work\puppet>bundle exec puppet module install --target-dir z:\tmp puppetlabs-registry
DL is deprecated, please use Fiddle
DL is deprecated, please use Fiddle
Notice: Preparing to install into z:/tmp ...
Notice: Downloading from https://forge.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
Error: Permission denied - (C:/ProgramData/PuppetLabs/puppet/var/puppet-module/cache/tmp-unpacker-e926810f946305eb0d2b65
c2166fc38507c6b70f/puppetlabs-registry-1.0.0, z:/tmp/registry)
Error: Try 'puppet help module install' for usage
group { 'Administrators':
ensure => present,
members => ['Administrator', 'DOMAIN\user', 'DOMAIN\group']
}
host { 'puppetmaster':
ensure => 'present',
ip => '192.168.1.2',
}
# target => 'C:/Windows/System32/drivers/etc/hosts',
# Times in millseconds
apply applies a given file even when a directory environment is specified 52919
Puppet::Run::Local should call runner.run on save and return the runner 17294
apply with a module looks in --modulepath when given multiple paths in --modulepath 4832
Puppet::Util::ADSI Puppet::Util::ADSI::User should be able to confirm the existence of a user with a well-known SID 4822
Puppet::Util::ADSI Puppet::Util::ADSI::Group should be able to confirm the existence of a group with a well-known SID 4819
Puppet::Util::Windows::Security file behaves like a securable object on a volume that supports ACLs for an administrator when the 4638
Puppet::Transaction should still trigger skipped resources 4548
apply with a module looks in --modulepath even when the default directory environment exists 4516
apply with a module looks in --modulepath even when given a specific directory --environment 4411
Log Name: Application
Source: Puppet
Date: 3/27/2014 10:49:16 AM
Event ID: 1
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: WIN-QP47VOHA2P4
Description:
root@puppet-bleed2:/# cat /var/lib/dhcp/dhclient.eth0.leases
lease {
interface "eth0";
fixed-address 10.79.54.25;
server-name "RD008CFA08595A";
option subnet-mask 255.255.254.0;
option routers 10.79.54.1;
option dhcp-lease-time 4294967295;
option dhcp-message-type 5;
option domain-name-servers 10.79.54.170;
lease {
interface "eth0";
fixed-address 10.76.228.72;
server-name "RD008CFA074F86";
option subnet-mask 255.255.254.0;
option routers 10.76.228.1;
option dhcp-lease-time 4294967295;
option dhcp-message-type 5;
option domain-name-servers 10.76.228.90;
option dhcp-server-identifier 10.241.0.90;
$ diff tmp/bleed2.txt tmp/bleed3.txt
33c33
< ii cloud-init 0.6.3-0ubuntu1.11 Init scripts for cloud instances
---
> ii cloud-init 0.6.3-0ubuntu1.13 Init scripts for cloud instances
84c84
< ii ifupdown 0.7~beta2ubuntu10 high level tools to configure network interfaces
---
> ii ifupdown 0.7~beta2ubuntu11 high level tools to configure network interfaces
230c230
C:\work\puppet [master +2 ~0 -0 !]> bundle exec puppet module generate pmtacceptance-nginx --skip-interview
bug
Notice: Generating module at C:\work\puppet/pmtacceptance-nginx...
Notice: Populating ERB templates...
Error: undefined method `tr' for #<Pathname:C:\work\puppet/pmtacceptance-nginx/**/*.erb>
C:/work/puppet/.bundle/gems/ruby/1.9.1/gems/win32-dir-0.4.6/lib/win32/dir.rb:130:in `block in []'
C:/work/puppet/.bundle/gems/ruby/1.9.1/gems/win32-dir-0.4.6/lib/win32/dir.rb:130:in `map!'
C:/work/puppet/.bundle/gems/ruby/1.9.1/gems/win32-dir-0.4.6/lib/win32/dir.rb:130:in `[]'
C:/work/puppet/lib/puppet/face/module/generate.rb:224:in `populate_erb_templates'
C:\work\puppet>bundle exec irb
irb(main):001:0> require 'win32/dir'
=> true
irb(main):002:0> require 'pathname'
=> false
irb(main):003:0> Dir[Pathname.new('.')]
NoMethodError: undefined method `tr' for #<Pathname:.>
from C:/work/puppet/.bundle/gems/ruby/1.9.1/gems/win32-dir-0.4.6/lib/win32/dir.rb:130:in `block in []'
from C:/work/puppet/.bundle/gems/ruby/1.9.1/gems/win32-dir-0.4.6/lib/win32/dir.rb:130:in `map!'
from C:/work/puppet/.bundle/gems/ruby/1.9.1/gems/win32-dir-0.4.6/lib/win32/dir.rb:130:in `[]'