Giter Club home page Giter Club logo

puppet-neo4j's People

Contributors

amoswood avatar marclambrichs avatar meyersj avatar taik0 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

puppet-neo4j's Issues

can't install neo4j on ubuntu 14.04 server

I can't install can't neo4j on ubuntu 14.04 server with a following error:

==> default: Error: Could not set 'file' on ensure: No such file or directory - /opt/neo4j/neo4j-community-2.1.5/conf/neo4j.properties20141026-1275-14525ma.lock at 179:/tmp/vagrant-puppet-3/modules-0/concat/manifests/init.pp
==> default: Error: Could not set 'file' on ensure: No such file or directory - /opt/neo4j/neo4j-community-2.1.5/conf/neo4j.properties20141026-1275-14525ma.lock at 179:/tmp/vagrant-puppet-3/modules-0/concat/manifests/init.pp
==> default: Wrapped exception:
==> default: No such file or directory - /opt/neo4j/neo4j-community-2.1.5/conf/neo4j.properties20141026-1275-14525ma.lock
==> default: Error: /Stage[main]/Neo4j/Concat[/opt/neo4j/neo4j-community-2.1.5/conf/neo4j.properties]/File[/opt/neo4j/neo4j-community-2.1.5/conf/neo4j.properties]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /opt/neo4j/neo4j-community-2.1.5/conf/neo4j.properties20141026-1275-14525ma.lock at 179:/tmp/vagrant-puppet-3/modules-0/concat/manifests/init.pp

I use following virtualboxin my Vagrant script - https://oss-binaries.phusionpassenger.com/vagrant/boxes/latest/ubuntu-14.04-amd64-vbox.box

and Puppet script for provision:

class { 'neo4j' :
   version => '2.1.5',
   auth_ensure         => present,
   auth_admin_user     => 'admin',
   auth_admin_password => 'admin',
}

I have added my Vagrant/Puppet project here http://www.filedropper.com/ubuntuserver14

What I'm doing wrong ? Thanks!

Max 1024 open files allowed, minimum of 40 000 recommended

Puppet fails to initialize the server with the error:

WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Xms1024m -Xmx1024m
Starting Neo4j Server...process [1642]... waiting for server to be ready.. Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.

Need to also change these settings upon provisioning?

Missing dependency concat

After a clean installation of puppet I found that I was missing the puppetlabs-concat module but it's not delcared as dependency on this module:

root@ip-172-31-24-24:~# gem install puppet -v '~> 3.8'
Fetching: facter-2.4.4.gem (100%)
Fetching: json_pure-1.8.2.gem (100%)
Fetching: hiera-1.3.4.gem (100%)
Fetching: puppet-3.8.1.gem (100%)
Successfully installed facter-2.4.4
Successfully installed json_pure-1.8.2
Successfully installed hiera-1.3.4
Successfully installed puppet-3.8.1
4 gems installed
Installing ri documentation for facter-2.4.4...
Installing ri documentation for json_pure-1.8.2...
Installing ri documentation for hiera-1.3.4...
Installing ri documentation for puppet-3.8.1...

Installing RDoc documentation for facter-2.4.4...
Installing RDoc documentation for json_pure-1.8.2...
Installing RDoc documentation for hiera-1.3.4...
Installing RDoc documentation for puppet-3.8.1...
root@ip-172-31-24-24:~# 
root@ip-172-31-24-24:~# puppet module install amosjwood-neo4j
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Created target directory /etc/puppet/modules
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppet/modules
└─┬ amosjwood-neo4j (v1.0.2)
  └── puppetlabs-stdlib (v4.7.0)
root@ip-172-31-24-24:/etc/puppet/manifests# puppet apply site.pp 
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Scope(Class[Neo4j]): Ignoring the cache_memory_ratio value due to version being '2.1.2'.
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type concat at /etc/puppet/modules/neo4j/manifests/init.pp:182 on node ip-172-31-24-24.us-west-2.compute.internal
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type concat at /etc/puppet/modules/neo4j/manifests/init.pp:182 on node ip-172-31-24-24.us-west-2.compute.internal
root@ip-172-31-24-24:/etc/puppet/modules# puppet module install puppetlabs-concat
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppet/modules
└─┬ puppetlabs-concat (v1.2.4)
  └── puppetlabs-stdlib (v4.7.0)
...
Notice: /Stage[main]/Neo4j/Exec[wget neo4j-community-2.1.2.tgz]/returns: executed successfully
Notice: /Stage[main]/Neo4j/File[/opt/neo4j/data]/ensure: created

The site.pp is just a declaration of the class.

Random ip

Withouth the option: allow_remote_connections => false , there is no transparent way to set the ip, although the server says it runs on localhost you need to dig through the logs to find the ip that is beeing set

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.