我是OpenAM,流浪汉和傀儡的新手。我正在尝试在OpenAM Vagrant之后设置OpenAM(& here)。使用Oracle VirtualBox 5.1.8,Windows 7和Vagrant 1.8.7我试过:
(错误)追踪:
默认值:无法解析环境生产:找不到文件 导入'节点/ ** / * .pp'at /tmp/vagrant-puppet/manifests-768747907b90c39ab6f16fcb3320897a/site.pp:3 在节点openam.vagrant.dev上(更改为my.dev.url )
我已在/etc/hosts
中设置了FQDN并更新了Vagrantfile
和openam.pp.example
文件。我也在SO看了类似的报道问题,但没有成功。
答案 0 :(得分:2)
您是否将/puppet/nodes/openam.pp.example
文件重命名为/puppet/nodes/openam.pp
?
完成更新后运行vagrant up
:
==> default: notice: /Stage[main]/Timer_entropyd::Package/File[timer-entropyd-deb]/ensure: defined content as '{md5}cf94b08aac1f19e0b0681a5abf1964e1'
==> default: notice: /Stage[main]//Exec[apt-get-update]/returns: executed successfully
==> default: notice: /Stage[main]//Node[openam.vagrant.dev]/Package[vim-nox]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Timer_entropyd::Package/Package[timer-entropyd]/ensure: ensure changed 'purged' to 'latest'
==> default: notice: /Stage[main]//Node[openam.vagrant.dev]/Package[curl]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Tomcat::Package/Package[tomcat6]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Tomcat::Config/File[/etc/default/tomcat6]/content: content changed '{md5}bc5b21625e2fa3cc8ada6ba03fe3bcd3' to '{md5}dbf709ff719e76ded1734582c6a1e2f1'
==> default: notice: /Stage[main]/Tomcat::Config/File[/etc/tomcat6/server.xml]/content: content changed '{md5}1733213f7f85c894ee210c14de6eddc1' to '{md5}0210005c49f6e01ada8dc27c3b712709'
==> default: notice: /Stage[main]/Tomcat::Config/File[/usr/share/tomcat6]/owner: owner changed 'root' to 'tomcat6'
==> default: notice: /Stage[main]/Tomcat::Config/File[/usr/share/tomcat6]/group: group changed 'root' to 'tomcat6'
==> default: notice: /Stage[main]/Openam::Prereqs/Package[unzip]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Openam::Download/File[/usr/local/src/openam]/ensure: created
==> default: notice: /Stage[main]/Openam::Download/Exec[download-openam]/returns: executed successfully
==> default: notice: /Stage[main]/Openam::Download/Exec[unzip-openam]/returns: executed successfully
==> default: notice: /Stage[main]/Openam::War/Exec[install-openam-war]/returns: executed successfully
==> default: notice: /Stage[main]/Openam::Configurator/File[/var/lib/openam]/ensure: created
==> default: notice: /Stage[main]/Openam::Configurator/File[/var/lib/openam/configurator.jar]/ensure: defined content as '{md5}9c95981acd876be865a0293eb16eab89'
==> default: notice: /Stage[main]/Tomcat::Service/Service[tomcat6]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Openam::Config/File[/etc/openam]/ensure: created
==> default: notice: /Stage[main]/Openam::Config/File[/etc/openam/initial_configuration.properties]/ensure: defined content as '{md5}b528e7c1773ae0bd5568657a90241b2a'
==> default: notice: /Stage[main]/Openam::Config/Exec[openam-configurator]/returns: Checking configuration directory /etc/openam/....Success.
....