hilverd / vagrant-ubuntu-oracle-xe

Install Oracle 11g XE in a Vagrant virtual machine running Ubuntu 12.04.
MIT License
288 stars 90 forks source link

vagrant up don't complete #6

Closed jbudziak closed 11 years ago

jbudziak commented 11 years ago

Hi,

The vagrant up don't complete, i get this error :

err: /Stage[main]/Oracle::Xe/Exec[alien xe]/returns: change from notrun to 0 failed: Command exceeded timeout at /tmp/vagrant-puppet/modules-0/oracle/manifests/init.pp:126

I am on mac os X.6.8, vagrant 1.3.4 and virtualBox 4.2.18.


the output :

default' up with 'virtualbox' provider... [default] Box 'precise64' was not found. Fetching box from specified URL for the provider 'virtualbox'. Note that if the URL does not have a box for this provider, you should interrupt Vagrant now and add the box yourself. Otherwise Vagrant will attempt to download the full box prior to discovering this error. Downloading or copying the box... Extracting box...te: 1686k/s, Estimated time remaining: 0:00:01) Successfully added box 'precise64' with provider 'virtualbox'! [default] Importing base box 'precise64'... [default] Matching MAC address for NAT networking... [default] Setting the name of the VM... [default] Clearing any previously set forwarded ports... [default] Creating shared folders metadata... [default] Clearing any previously set network interfaces... [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22 => 2222 (adapter 1) [default] -- 1521 => 1521 (adapter 1) [default] Running 'pre-boot' VM customizations... [default] Booting VM... [default] Waiting for machine to boot. This may take a few minutes... [default] Machine booted and ready! [default] Setting hostname... [default] Mounting shared folders... [default] -- /vagrant [default] -- /tmp/vagrant-puppet/manifests [default] -- /tmp/vagrant-puppet/modules-0 [default] Running provisioner: shell... [default] Running: inline script stdin: is not a tty America/New_York

Current default time zone: 'America/New_York' Local time is now: Wed Oct 9 05:32:33 EDT 2013. Universal Time is now: Wed Oct 9 09:32:33 UTC 2013.

[default] Running provisioner: puppet... Running Puppet with base.pp... stdin: is not a tty warning: Could not retrieve fact fqdn warning: Host is missing hostname and/or domain: oracle info: Applying configuration version '1381311159' notice: /Stage[main]/Oracle::Swap/Exec[create swapfile]/returns: executed successfully notice: /Stage[main]/Oracle::Swap/Exec[add swapfile entry to fstab]/returns: executed successfully notice: /Stage[main]/Oracle::Server/Exec[apt-update]/returns: executed successfully notice: /Stage[main]/Oracle::Server/User[syslog]/groups: groups changed '' to 'adm,syslog' notice: /Stage[main]/Oracle::Server/File[/etc/rc2.d/S01shm_load]/ensure: defined content as '{md5}4bc498d6cd7b4de9e417f4eeb8bd0cff' notice: /Stage[main]/Oracle::Server/Package[rlwrap]/ensure: ensure changed 'purged' to 'present' notice: /Stage[main]/Oracle::Server/Package[unixodbc]/ensure: ensure changed 'purged' to 'present' notice: /Stage[main]/Oracle::Server/Package[alien]/ensure: ensure changed 'purged' to 'present' notice: /Stage[main]/Oracle::Swap/Exec[set up swapfile]/returns: executed successfully notice: /Stage[main]/Oracle::Xe/File[/bin/awk]/ensure: created notice: /Stage[main]/Oracle::Xe/File[/home/vagrant/oracle-xe-11.2.0-1.0.x86_64.rpm.zip]/ensure: defined content as '{md5}dd7881a55569d890241f11cd0eeb7d48' notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys]/ensure: created notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys/listener]/ensure: created notice: /Stage[main]/Oracle::Xe/File[/tmp/xe.rsp]/ensure: defined content as '{md5}b79c95d12321f3eb55d855082d1d6831' notice: /Stage[main]/Oracle::Server/File[/sbin/chkconfig]/ensure: defined content as '{md5}8c59ff9592660f1de08162729d19373e' notice: /Stage[main]/Oracle::Server/Package[libaio1]/ensure: ensure changed 'purged' to 'present' notice: /Stage[main]/Oracle::Server/Package[bc]/ensure: ensure changed 'purged' to 'present' notice: /Stage[main]/Oracle::Xe/File[/etc/profile.d/oracle-env.sh]/ensure: defined content as '{md5}c874e5a7a4cc6b15ff68055335c136fb' notice: /Stage[main]/Oracle::Swap/File[/swapfile]/mode: mode changed '0644' to '0600' notice: /Stage[main]/Oracle::Swap/Exec[enable swapfile]/returns: executed successfully notice: /Stage[main]/Oracle::Server/Package[unzip]/ensure: ensure changed 'purged' to 'present' notice: /Stage[main]/Oracle::Xe/Exec[unzip xe]/returns: executed successfully /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/parameter.rb:165:in fail' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/type/exec.rb:103:insync' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:114:in apply_parameter' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:62:inperform_changes' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in each' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:inperform_changes' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:133:in evaluate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:49:inapply' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:84:in eval_resource' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:inevaluate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:493:in thinmark' /opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:inrealtime' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:492:in thinmark' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:inevaluate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:386:in traverse' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:99:inevaluate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/resource/catalog.rb:141:in apply' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:122:inretrieve_and_apply_catalog' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:161:in benchmark' /opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:inrealtime' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:160:in benchmark' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:121:inretrieve_and_apply_catalog' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:152:in run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:229:inmain' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:149:in run_command' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:inrun' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:416:in hook' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:inrun' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:407:in exit_on_fail' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:inrun' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util/command_line.rb:69:in execute' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/bin/puppet:4 /opt/vagrant_ruby/bin/puppet:19:inload' /opt/vagrant_ruby/bin/puppet:19 err: /Stage[main]/Oracle::Xe/Exec[alien xe]/returns: change from notrun to 0 failed: Command exceeded timeout at /tmp/vagrant-puppet/modules-0/oracle/manifests/init.pp:126 notice: /Stage[main]/Oracle::Xe/Package[oracle-xe]: Dependency Exec[alien xe] has failures: true warning: /Stage[main]/Oracle::Xe/Package[oracle-xe]: Skipping because of failed dependencies notice: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]/ensure: defined content as '{md5}61b22d59fdc07f9fa6929ab74f5b6e99' info: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]: Scheduling refresh of Exec[procps] notice: /Stage[main]/Oracle::Server/Exec[set up shm]/returns: executed successfully notice: /Stage[main]/Oracle::Xe/Exec[configure xe]: Dependency Exec[alien xe] has failures: true warning: /Stage[main]/Oracle::Xe/Exec[configure xe]: Skipping because of failed dependencies notice: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Dependency Exec[alien xe] has failures: true warning: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Skipping because of failed dependencies notice: /Stage[main]/Oracle::Server/Exec[procps]: Triggered 'refresh' from 1 events notice: /Stage[main]//Node[oracle]/User[vagrant]: Dependency Exec[alien xe] has failures: true warning: /Stage[main]//Node[oracle]/User[vagrant]: Skipping because of failed dependencies info: Creating state file /var/lib/puppet/state/state.yaml notice: Finished catalog run in 628.84 seconds No error message

hilverd commented 11 years ago

Hi,

Thanks for reporting this. I have increased the timeout for the command that converts the Oracle XE RPM package to a Debian package. If you are still getting errors then please let me know.

azhuchkov commented 11 years ago

vagrant up leaves oracle xe in unconfigured state. I suppose it's the same issue. Environment:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'precise64' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading or copying the box...
Extracting box...te: 1285k/s, Estimated time remaining: 0:00:01)
Successfully added box 'precise64' with provider 'virtualbox'!
[default] Importing base box 'precise64'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 1521 => 1521 (adapter 1)
[default] Running 'pre-boot' VM customizations...
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Setting hostname...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /tmp/vagrant-puppet/manifests
[default] -- /tmp/vagrant-puppet/modules-0
[default] Running provisioner: shell...
[default] Running: inline script
stdin: is not a tty
America/New_York

Current default time zone: 'America/New_York'
Local time is now:      Sun Nov  3 04:12:18 EST 2013.
Universal Time is now:  Sun Nov  3 09:12:18 UTC 2013.

[default] Running provisioner: puppet...
Running Puppet with base.pp...
stdin: is not a tty
warning: Could not retrieve fact fqdn
warning: Host is missing hostname and/or domain: oracle
info: Applying configuration version '1383469948'
notice: /Stage[main]/Oracle::Swap/Exec[create swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Swap/Exec[add swapfile entry to fstab]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Exec[apt-update]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/User[syslog]/groups: groups changed '' to 'adm,syslog'
notice: /Stage[main]/Oracle::Server/File[/etc/rc2.d/S01shm_load]/ensure: defined content as '{md5}4bc498d6cd7b4de9e417f4eeb8bd0cff'
notice: /Stage[main]/Oracle::Server/Package[rlwrap]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[unixodbc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[alien]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Swap/Exec[set up swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/File[/bin/awk]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/home/vagrant/oracle-xe-11.2.0-1.0.x86_64.rpm.zip]/ensure: defined content as '{md5}dd7881a55569d890241f11cd0eeb7d48'
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys/listener]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/tmp/xe.rsp]/ensure: defined content as '{md5}b79c95d12321f3eb55d855082d1d6831'
notice: /Stage[main]/Oracle::Server/File[/sbin/chkconfig]/ensure: defined content as '{md5}8c59ff9592660f1de08162729d19373e'
notice: /Stage[main]/Oracle::Server/Package[libaio1]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[bc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/File[/etc/profile.d/oracle-env.sh]/ensure: defined content as '{md5}c874e5a7a4cc6b15ff68055335c136fb'
notice: /Stage[main]/Oracle::Swap/File[/swapfile]/mode: mode changed '0644' to '0600'
notice: /Stage[main]/Oracle::Swap/Exec[enable swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Package[unzip]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/Exec[unzip xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Exec[alien xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Package[oracle-xe]/ensure: ensure changed 'purged' to 'latest'
notice: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]/ensure: defined content as '{md5}61b22d59fdc07f9fa6929ab74f5b6e99'
info: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]: Scheduling refresh of Exec[procps]
notice: /Stage[main]/Oracle::Server/Exec[set up shm]/returns: executed successfully
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/parameter.rb:165:in `fail'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/type/exec.rb:103:in `sync'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:114:in `apply_parameter'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:62:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:133:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:49:in `apply'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:84:in `eval_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:493:in `thinmark'
/opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:492:in `thinmark'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:386:in `traverse'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:99:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/resource/catalog.rb:141:in `apply'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:122:in `retrieve_and_apply_catalog'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:161:in `benchmark'
/opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:160:in `benchmark'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:121:in `retrieve_and_apply_catalog'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:152:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:229:in `main'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:149:in `run_command'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:416:in `hook'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:407:in `exit_on_fail'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util/command_line.rb:69:in `execute'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/bin/puppet:4
/opt/vagrant_ruby/bin/puppet:19:in `load'
/opt/vagrant_ruby/bin/puppet:19
err: /Stage[main]/Oracle::Xe/Exec[configure xe]/returns: change from notrun to 0 failed: Command exceeded timeout at /tmp/vagrant-puppet/modules-0/oracle/manifests/init.pp:127
notice: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Dependency Exec[configure xe] has failures: true
warning: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Skipping because of failed dependencies
notice: /Stage[main]/Oracle::Server/Exec[procps]: Triggered 'refresh' from 1 events
notice: /Stage[main]//Node[oracle]/User[vagrant]: Dependency Exec[configure xe] has failures: true
warning: /Stage[main]//Node[oracle]/User[vagrant]: Skipping because of failed dependencies
info: Creating state file /var/lib/puppet/state/state.yaml
notice: Finished catalog run in 2001.71 seconds
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

puppet apply --verbose --trace --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' --manifestdir /tmp/vagrant-puppet/manifests --detailed-exitcodes /tmp/vagrant-puppet/manifests/base.pp || [ $? -eq 2 ]

Stdout from the command:

warning: Could not retrieve fact fqdn
warning: Host is missing hostname and/or domain: oracle
info: Applying configuration version '1383469948'
notice: /Stage[main]/Oracle::Swap/Exec[create swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Swap/Exec[add swapfile entry to fstab]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Exec[apt-update]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/User[syslog]/groups: groups changed '' to 'adm,syslog'
notice: /Stage[main]/Oracle::Server/File[/etc/rc2.d/S01shm_load]/ensure: defined content as '{md5}4bc498d6cd7b4de9e417f4eeb8bd0cff'
notice: /Stage[main]/Oracle::Server/Package[rlwrap]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[unixodbc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[alien]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Swap/Exec[set up swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/File[/bin/awk]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/home/vagrant/oracle-xe-11.2.0-1.0.x86_64.rpm.zip]/ensure: defined content as '{md5}dd7881a55569d890241f11cd0eeb7d48'
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys/listener]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/tmp/xe.rsp]/ensure: defined content as '{md5}b79c95d12321f3eb55d855082d1d6831'
notice: /Stage[main]/Oracle::Server/File[/sbin/chkconfig]/ensure: defined content as '{md5}8c59ff9592660f1de08162729d19373e'
notice: /Stage[main]/Oracle::Server/Package[libaio1]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[bc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/File[/etc/profile.d/oracle-env.sh]/ensure: defined content as '{md5}c874e5a7a4cc6b15ff68055335c136fb'
notice: /Stage[main]/Oracle::Swap/File[/swapfile]/mode: mode changed '0644' to '0600'
notice: /Stage[main]/Oracle::Swap/Exec[enable swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Package[unzip]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/Exec[unzip xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Exec[alien xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Package[oracle-xe]/ensure: ensure changed 'purged' to 'latest'
notice: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]/ensure: defined content as '{md5}61b22d59fdc07f9fa6929ab74f5b6e99'
info: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]: Scheduling refresh of Exec[procps]
notice: /Stage[main]/Oracle::Server/Exec[set up shm]/returns: executed successfully
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/parameter.rb:165:in `fail'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/type/exec.rb:103:in `sync'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:114:in `apply_parameter'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:62:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:133:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:49:in `apply'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:84:in `eval_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:493:in `thinmark'
/opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:492:in `thinmark'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:386:in `traverse'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:99:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/resource/catalog.rb:141:in `apply'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:122:in `retrieve_and_apply_catalog'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:161:in `benchmark'
/opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:160:in `benchmark'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:121:in `retrieve_and_apply_catalog'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:152:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:229:in `main'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:149:in `run_command'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:416:in `hook'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:407:in `exit_on_fail'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util/command_line.rb:69:in `execute'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/bin/puppet:4
/opt/vagrant_ruby/bin/puppet:19:in `load'
/opt/vagrant_ruby/bin/puppet:19
err: /Stage[main]/Oracle::Xe/Exec[configure xe]/returns: change from notrun to 0 failed: Command exceeded timeout at /tmp/vagrant-puppet/modules-0/oracle/manifests/init.pp:127
notice: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Dependency Exec[configure xe] has failures: true
warning: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Skipping because of failed dependencies
notice: /Stage[main]/Oracle::Server/Exec[procps]: Triggered 'refresh' from 1 events
notice: /Stage[main]//Node[oracle]/User[vagrant]: Dependency Exec[configure xe] has failures: true
warning: /Stage[main]//Node[oracle]/User[vagrant]: Skipping because of failed dependencies
info: Creating state file /var/lib/puppet/state/state.yaml
notice: Finished catalog run in 2001.71 seconds

Stderr from the command:

stdin: is not a tty
hilverd commented 11 years ago

Looks like it's a similar issue but the timeout is for a different command. It should be fixed now (if not then please let me know). Thanks for pointing this out.

azhuchkov commented 11 years ago

works for me. Thanks!

devantoine commented 10 years ago

Is this related?

PS C:\Users\Antoine\Dev\vagrant-ubuntu-oracle-xe> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise64'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 1521 => 1521 (adapter 1)
[default] Running 'pre-boot' VM customizations...
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Setting hostname...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /tmp/vagrant-puppet/manifests
[default] -- /tmp/vagrant-puppet/modules-0
[default] Running provisioner: shell...
[default] Running: inline script
stdin: is not a tty
America/New_York

Current default time zone: 'America/New_York'
Local time is now:      Thu Jan 23 17:01:31 EST 2014.
Universal Time is now:  Thu Jan 23 22:01:31 UTC 2014.

[default] Running provisioner: puppet...
Running Puppet with base.pp...
stdin: is not a tty
warning: Could not retrieve fact fqdn
warning: Host is missing hostname and/or domain: oracle
info: Applying configuration version '1390514493'
notice: /Stage[main]/Oracle::Swap/Exec[create swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Swap/Exec[add swapfile entry to fstab]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Exec[apt-update]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/User[syslog]/groups: groups changed '' to 'adm,syslog'
notice: /Stage[main]/Oracle::Server/File[/etc/rc2.d/S01shm_load]/ensure: defined content as '{md5}2474efbd78003310ac817899c7985e29'
notice: /Stage[main]/Oracle::Server/Package[rlwrap]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[unixodbc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[alien]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Swap/Exec[set up swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/File[/bin/awk]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/home/vagrant/oracle-xe-11.2.0-1.0.x86_64.rpm.zip]/ensure: defined content as '{md5}dd7881a55569d890241f11cd0eeb7d48'
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys/listener]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/tmp/xe.rsp]/ensure: defined content as '{md5}468fed182e8c8e13a4c132bafe998463'
notice: /Stage[main]/Oracle::Server/File[/sbin/chkconfig]/ensure: defined content as '{md5}8fb91df355d59635f7669668816bc129'
notice: /Stage[main]/Oracle::Server/Package[libaio1]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[bc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/File[/etc/profile.d/oracle-env.sh]/ensure: defined content as '{md5}e10ac9cfd22a648c0e7c5f18b4f19aab'
notice: /Stage[main]/Oracle::Swap/File[/swapfile]/mode: mode changed '0644' to '0600'
notice: /Stage[main]/Oracle::Swap/Exec[enable swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Package[unzip]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/Exec[unzip xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Exec[alien xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Package[oracle-xe]/ensure: ensure changed 'purged' to 'latest'
notice: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]/ensure: defined content as '{md5}85af7d80c93af01eff15b57e276f268a'
info: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]: Scheduling refresh of Exec[procps]
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/parameter.rb:165:in `fail'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/type/exec.rb:125:in `sync'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:114:in `apply_parameter'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:62:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:133:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:49:in `apply'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:84:in `eval_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:493:in `thinmark'
/opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:492:in `thinmark'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:386:in `traverse'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:99:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/resource/catalog.rb:141:in `apply'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:122:in `retrieve_and_apply_catalog'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:161:in `benchmark'
/opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:160:in `benchmark'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:121:in `retrieve_and_apply_catalog'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/configurer.rb:152:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:229:in `main'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application/apply.rb:149:in `run_command'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:416:in `hook'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:407:in `exit_on_fail'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/application.rb:309:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util/command_line.rb:69:in `execute'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/bin/puppet:4
/opt/vagrant_ruby/bin/puppet:19:in `load'
/opt/vagrant_ruby/bin/puppet:19
err: /Stage[main]/Oracle::Server/Exec[set up shm]/returns: change from notrun to 0 failed: /etc/rc2.d/S01shm_load start
returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules-0/oracle/manifests/init.pp:48
notice: /Stage[main]/Oracle::Xe/Exec[configure xe]: Dependency Exec[set up shm] has failures: true
warning: /Stage[main]/Oracle::Xe/Exec[configure xe]: Skipping because of failed dependencies
notice: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Dependency Exec[set up shm] has failures: true
warning: /Stage[main]/Oracle::Xe/Service[oracle-xe]: Skipping because of failed dependencies
notice: /Stage[main]/Oracle::Server/Exec[procps]: Triggered 'refresh' from 1 events
notice: /Stage[main]//Node[oracle]/User[vagrant]: Dependency Exec[set up shm] has failures: true
warning: /Stage[main]//Node[oracle]/User[vagrant]: Skipping because of failed dependencies
info: Creating state file /var/lib/puppet/state/state.yaml
notice: Finished catalog run in 288.13 seconds
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

puppet apply --verbose --trace --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' --color=false --manifest
dir /tmp/vagrant-puppet/manifests --detailed-exitcodes /tmp/vagrant-puppet/manifests/base.pp || [ $? -eq 2 ]

Stdout from the command:

warning: Could not retrieve fact fqdn
warning: Host is missing hostname and/or domain: oracle
info: Applying configuration version '1390514493'
notice: /Stage[main]/Oracle::Swap/Exec[create swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Swap/Exec[add swapfile entry to fstab]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Exec[apt-update]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/User[syslog]/groups: groups changed '' to 'adm,syslog'
notice: /Stage[main]/Oracle::Server/File[/etc/rc2.d/S01shm_load]/ensure: defined content as '{md5}2474efbd78003310ac817899c7985e29'
notice: /Stage[main]/Oracle::Server/Package[rlwrap]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[unixodbc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[alien]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Swap/Exec[set up swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/File[/bin/awk]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/home/vagrant/oracle-xe-11.2.0-1.0.x86_64.rpm.zip]/ensure: defined content as '{md5}dd7881a55569d890241f11cd0eeb7d48'
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/var/lock/subsys/listener]/ensure: created
notice: /Stage[main]/Oracle::Xe/File[/tmp/xe.rsp]/ensure: defined content as '{md5}468fed182e8c8e13a4c132bafe998463'
notice: /Stage[main]/Oracle::Server/File[/sbin/chkconfig]/ensure: defined content as '{md5}8fb91df355d59635f7669668816bc129'
notice: /Stage[main]/Oracle::Server/Package[libaio1]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Server/Package[bc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/File[/etc/profile.d/oracle-env.sh]/ensure: defined content as '{md5}e10ac9cfd22a648c0e7c5f18b4f19aab'
notice: /Stage[main]/Oracle::Swap/File[/swapfile]/mode: mode changed '0644' to '0600'
notice: /Stage[main]/Oracle::Swap/Exec[enable swapfile]/returns: executed successfully
notice: /Stage[main]/Oracle::Server/Package[unzip]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Oracle::Xe/Exec[unzip xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Exec[alien xe]/returns: executed successfully
notice: /Stage[main]/Oracle::Xe/Package[oracle-xe]/ensure: ensure changed 'purged' to 'latest'
notice: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]/ensure: defined content as '{md5}85af7d80c93af01eff15b57e276f268a'
info: /Stage[main]/Oracle::Server/File[/etc/sysctl.d/60-oracle.conf]: Scheduling refresh of Exec[procps]
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/parameter.rb:165:in `fail'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/type/exec.rb:125:in `sync'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:114:in `apply_parameter'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:62:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:60:in `perform_changes'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction/resource_harness.rb:133:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:49:in `apply'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:84:in `eval_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:493:in `thinmark'
/opt/vagrant_ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/util.rb:492:in `thinmark'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:104:in `evaluate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:386:in `traverse'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/puppet-2.7.19/lib/puppet/transaction.rb:99:in `evaluate'
hilverd commented 10 years ago

Thanks for reporting this. What you're encountering appears to be an instance of issue #7 -- your Git is converting the (Unix) LF line endings in the scripts to (Windows) CRLF line endings upon cloning the repository. That then causes problems when trying to run them on the VM. As @mrmanc mentioned in issue #7 you should be able to fix this by running git config --global core.autocrlf false and cloning a fresh copy of the repository.

Could you please let me know if this works? I will add a note to the README about this.

devantoine commented 10 years ago

Indeed it was an instance of issue #7, it now works properly. Thanks!