programmerdan / civcraft-vm Goto Github PK
View Code? Open in Web Editor NEWVirtual Machine appliance using Vagrant and puppet to auto provision a Civcraft-compatible testing machine
License: MIT License
Virtual Machine appliance using Vagrant and puppet to auto provision a Civcraft-compatible testing machine
License: MIT License
Is this suitable for civcraft current setup? Been out of it for a few months so not sure if this will cover everything or even work?
See title. 'Spigot-pom.xml' is created fine.
Just remembered I came across an issue with this line in he readme when I first tried to follow it:
.7. Clone this repository locally:
git clone [email protected]:ProgrammerDan/civcraft-vm.git
running that command was giving the following output:
Cloning into 'civcraft-vm'
Warning: Permanently added <blah blah blah>
Permission denied (publickey).
fatal: could not read from the remote repository.
what worked for me was to run:
git clone https://github.com/ProgrammerDan/civcraft-vm
Now for the really fun part.
Pull down the default plugin and config from build.civcraft.co for the core plugin set:
Bonus points for additional:
Yes, Civcraft has a ton of plugins.
got a new one :P
==> default: Error: /spigot/get_and_build_spigot.sh returned 148 instead of one of [0]
==> default: Error: /Stage[main]/Civcraft/Exec[civcraft.spigotcreate]/returns: change from notrun to 0 failed: /spigot/get_and_build_spigot.sh returned 148 instead of one of [0]
==> default: Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-software-properties'
==> default: Notice: /Stage[main]/Tools/Package[python-software-properties]/ensure: ensure changed 'purged' to 'latest'
==> default: Debug: /Package[python-software-properties]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' software-properties-common'
==> default: Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install software-properties-common'
==> default: Notice: /Stage[main]/Tools/Package[software-properties-common]/ensure: ensure changed 'purged' to 'latest'
==> default: Debug: /Package[software-properties-common]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Exec[tmux.apt-add-repository](provider=posix): Executing '/usr/bin/sudo /usr/bin/apt-add-repository -y ppa:pi-rho/dev'
==> default: Debug: Executing '/usr/bin/sudo /usr/bin/apt-add-repository -y ppa:pi-rho/dev'
==> default: Notice: /Stage[main]/Tools/Exec[tmux.apt-add-repository]/returns: executed successfully
==> default:
==> default: Debug: /Stage[main]/Tools/Exec[tmux.apt-add-repository]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Exec[tmux.apt-update](provider=posix): Executing '/usr/bin/sudo /usr/bin/apt-get update'
==> default: Debug: Executing '/usr/bin/sudo /usr/bin/apt-get update'
==> default: Notice: /Stage[main]/Tools/Exec[tmux.apt-update]/returns: executed successfully
==> default: Debug: /Stage[main]/Tools/Exec[tmux.apt-update]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Exec[tmux.install](provider=posix): Executing '/usr/bin/sudo /usr/bin/apt-get -y install tmux=1.9a-1~ppa1~p'
==> default: Debug: Executing '/usr/bin/sudo /usr/bin/apt-get -y install tmux=1.9a-1~ppa1~p'
==> default: Notice: /Stage[main]/Tools/Exec[tmux.install]/returns: executed successfully
==> default: Debug: /Stage[main]/Tools/Exec[tmux.install]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Class[Tools]: The container Stage[main] will propagate my refresh event
==> default: Notice: /Stage[main]/Civcraft/File[civcraft.spigotcontrol]: Dependency Exec[civcraft.spigotcreate] has failures: true
==> default: Warning: /Stage[main]/Civcraft/File[civcraft.spigotcontrol]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Civcraft/Exec[civcraft.spigotserver]: Dependency Exec[civcraft.spigotcreate] has failures: true
==> default: Warning: /Stage[main]/Civcraft/Exec[civcraft.spigotserver]: Skipping because of failed dependencies
==> default: Debug: Class[Civcraft]: The container Stage[main] will propagate my refresh event
==> default: Debug: Finishing transaction 69983527214400
==> default: Debug: Storing state
==> default: Info: Creating state file /var/lib/puppet/state/state.yaml
==> default: Debug: Stored state in 0.01 seconds
==> default: Notice: Finished catalog run in 538.10 seconds
==> default: Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :mode=>"750", :links=>:follow, :path=>"/var/lib/puppet/rrd", :ensure=>:directory}'
==> default: Debug: /File[/var/lib/puppet/rrd]/ensure: created
==> default: Debug: Finishing transaction 69983540723160
==> default: Debug: Received report to process from ubuntu-server-12042-x64-vbox4210
==> default: Debug: Processing report from ubuntu-server-12042-x64-vbox4210 with processor Puppet::Reports::Store
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Doublecheck if mariadb is installed in VM.
If not, install it (this is a Puppet provisioning step -- see the java stuff for an example).
Then, run a script to provision a user and (at least one) database for civcraft's plugins to use.
Hey I installed the exact vagrant and vb versions, and get this error after vagrant up
:
==> default: Running provisioner: puppet...
==> default: Running Puppet with site.pp...
==> default: stdin: is not a tty
==> default: Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
==> default: (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
==> default: Debug: Runtime environment: ruby_version=1.8.7, puppet_version=3.8.1, run_mode=user
==> default: Error: Could not parse for environment production: Syntax error at 'ensure' at /tmp/vagrant-puppet/manifests-32d629a2561383f270abbd7cb585fa75/site.pp:73:5 on node ubuntu-server-12042-x64-vbox4210
==> default: Error: Could not parse for environment production: Syntax error at 'ensure' at /tmp/vagrant-puppet/manifests-32d629a2561383f270abbd7cb585fa75/site.pp:73:5 on node ubuntu-server-12042-x64-vbox4210
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
My machine is ubuntu 14/trusty-something
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.