Code Monkey home page Code Monkey logo

psick's People

Contributors

alvagante avatar antgel avatar fduranti avatar jjpryor avatar karolisc avatar maximsternberg avatar olegy-ait avatar pmuller avatar rgevaert avatar rndmh3ro avatar shapi78 avatar snesbittsea avatar thekoma avatar ttres avatar tuxmea avatar

Watchers

 avatar  avatar

Forkers

alvagante

psick's Issues

Puppet not installing IIS

On our web server, following error:

C:\Windows\system32>puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Serve
r Error: Evaluation Error: Error while evaluating a Function Call, Could not fin
d class ::iis for win-rpbf6jnggr7.sandbox.graduway.com (file: /etc/puppetlabs/co
de/environments/production/modules/psick/manifests/iis.pp, line: 35, column: 3)
on node win-rpbf6jnggr7.sandbox.graduway.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

C:\Windows\system32>

@shapi78 Do you know what this is, have you seen it before? If not, perhaps we should involve @alvagante . Our PSICK is pretty out of date, but I would have expected this to work...

Organize ssh keys on Jenkins master and slave

I have moved the Jenkins pipelines to pull the code from git, rather than storing the code in the job(s).

The Jenkins master needs to use the new ssh key system to access the git repos. I stopped Puppet on it, so you can use ~jenkins/.ssh/config as an example of what it should look like. Also note both frontend and web keys need to be there, correctly named. (I copied them manually on the server.)

Items not in path on Jenkins slave

After installing nodejs choco install -y nodejs-lts, the frontend build still fails because the slave process has the old %PATH%. What's a reasonable solution? I thought about rebooting the slave after chocolatey finishes?

Or is this a problem only because Puppet isn't finishing its run at the moment?

Discard old builds in Jenkins

Talk to @nsof about how many to keep, whether to do it by number of builds, time, or both. We can always rebuild from old commits if there's a meaningful need.

image

Jenkins user .ssh directory problem

I guess this could be an upstream bug, but not sure so opening here. Seen on a fresh Jenkins master, on the second run of puppet apply --test.

Error: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /var/lib/jenkins/.ssh/config20171201-4385-1o185ut.lock at /etc/puppetlabs/code/environments/production/modules/psick/manifests/openssh/config.pp:68
Error: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /var/lib/jenkins/.ssh/config20171201-4385-1o185ut.lock at /etc/puppetlabs/code/environments/production/modules/psick/manifests/openssh/config.pp:68
Wrapped exception:
No such file or directory @ dir_s_mkdir - /var/lib/jenkins/.ssh/config20171201-4385-1o185ut.lock
Error: /Stage[main]/Psick::Jenkins/Psick::Openssh::Config[jenkins]/File[/var/lib/jenkins/.ssh/config]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /var/lib/jenkins/.ssh/config20171201-4385-1o185ut.lock at /etc/puppetlabs/code/environments/production/modules/psick/manifests/openssh/config.pp:68

This then causes:
(/Stage[main]/Psick::Jenkins::Tp/Tp::Install[jenkins]/Service[jenkins]) Dependency File[/var/lib/jenkins/.ssh/config] has failures: true
(/Stage[main]/Psick::Jenkins::Tp/Tp::Install[jenkins]/Service[jenkins]) Skipping because of failed dependencies
(/Stage[main]/Psick::Jenkins::Scm_sync/Exec[trigger_jenkins_scm_sync]) Dependency File[/var/lib/jenkins/.ssh/config] has failures: true
(/Stage[main]/Psick::Jenkins::Scm_sync/Exec[trigger_jenkins_scm_sync]) Skipping because of failed dependencies
(/Stage[main]/Psick::Jenkins::Scm_sync/Exec[jenkins_reload]) Dependency File[/var/lib/jenkins/.ssh/config] has failures: true
(/Stage[main]/Psick::Jenkins::Scm_sync/Exec[jenkins_reload]) Skipping because of failed dependencies

Running puppet apply --test again didn't help.

Configure IIS Default Web Site to serve Angular app

I did it manually, but what needs to be done is setting the Default Web Site physical path to %SystemDrive%\inetpub\wwwroot\dist (basically adding \dist to the end).

EDIT: Don't do this yet, it breaks other things in there. Perhaps DWS should be left at the normal path, I'll write down my findings and come back with a fresh brain.

@shapi78 Where is the code that configures IIS, is it still on a branch somewhere?

Add db-bootstrap SSH keys to Jenkins

Add db-bootstrap SSH keys to Jenkins

remove the following lines from every ssh-config files:
StrictHostKeyChecking false
UserKnownHostsFile /dev/null

Align on ssh key access

Currently, I can't get into the VPN server. All Linux servers should use the same master SSH key. (Perhaps this should not be mine, but a new one should be generated.)

Move graduway.com domain from godaddy to Route 53

In preparation for move to terraform. * Note this is only for graduway.com domain. *

  • Add Route 53 zone data to terraform with relevant aws_* directives.
  • Use dns-compare after importing zone to Route 53, before we change the main nameservers.
  • Change the main nameservers at an agreed time.

Disable hostname, hosts and dns on psick::pre::linux_classes

Expected Behavior

On common.yaml:
psick::pre::linux_classes:

Please disable:
hostname: '::psick::hostname'
hosts: '::psick::hosts::resource'
dns: '::psick::dns::resolver'

Actual Behavior

While new agent starts these modules affect the connections to to the puppet master
we can leave route53 to handle dns resolving and cloud-init to set hostname and handle host file

Make VPN keys persistent

Currently they are generated afresh for every new Puppet server. It might make sense to explore persisting them, so users don't get annoyed when environments come up and down.

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.