Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Puppet script to install Piwik on dedicated server?

$
0
0
Hi all,

I want to create a puppet script to install Piwik on a dedicated server. I have never used puppet before, and the puppet-piwik module on github is not of much help...

For one, it's supposed to work on a virtual machine (the docs are all about setting up a virtual box); I created a virtual box to play with, but I need it on a real server.

Then, nowhere does it say what to do with the module... "git clone" it - OK... what next? The docs say to see Readme. Readme says:

Simple Example:

Exec {
  path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
}

class { 'piwik': }
piwik::apache { 'apache.piwik': }

Er... all right... what do I do with this? Where do I write it, and how do I run it? How do I set up my own environment? E.g., I am on a CentOS server (so - I want yum, not apt), I want to set up my own server name etc.

Also, after the environment is set up, how do I install Piwik? I mean not just pull the files from git, but run the install *and create an admin user with an auth token I already know* (which is being used on another server to import data through the API)?

Viewing all articles
Browse latest Browse all 13117

Trending Articles