Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. philippe.camelio_3885
    P
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    philippe.camelio_3885

    @philippe.camelio_3885

    6
    Reputation
    271
    Posts
    4
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    philippe.camelio_3885 Follow

    Best posts made by philippe.camelio_3885

    • RE: OTTER - Capture Logs from block execution and assign to variables ?

      OK
      I understand I have to manage this at the script level (SHExec ou PSExec).
      I hoped I could do it inside Otter Script, something like :

      SHExec >>
      Some command
      >>
      (
        OutputLog: $MyOutput
      );
      

      Thanks you @atripp

      posted in Support
      P
      philippe.camelio_3885
    • OTTER 3.0 - Git Based-Raft ?

      Hello
      is the git rafts-based gone ?

      posted in Support
      P
      philippe.camelio_3885
    • RE: Otter 3.0.2. PSEnsure operations broken

      Here is an Inedo example of the Otter 3 PSEnsure.

      Create a Powerscript like test-psensure.ps1

      <# 
      .PARAMETER HotFixID
      ID of the HotFix to check, such as "KB4562830"
      .AHCONFIGKEY 
      $HotFixID
      .AHCONFIGTYPE
      HotFix
      .AHEXECMODE
      $ExecutionMode
      #>
      param ([string]$HotFixID)
      if ($ExecutionMode -eq "Collect") {
        return !!((Get-HotFix -Id  $HotFixID) 2> $null)
      } else if ($ExecutionMode -eq "Configure") {
        # install Hot Fix ... Which is complex
      }
      

      Create an Otter script:

      ##AH:UseTextMode
      PSEnsure Test-PSEnsure
      (
          HotFixID: KB4532938
      );
      

      In visual mode, you will have :

      9f91a0b7-1c5c-45a8-aef9-cab58d4a50af-image.png

      posted in Support
      P
      philippe.camelio_3885
    • RE: Examples of configuring PowerShell on a fresh server (win 2019 or 2022)

      @Justinvolved

      Make a role with this desired configuration

      Ensure-PsRepository
          (
              Exists: true,
              InstallationPolicy: trusted,
              SourceLocation: https://www.powershellgallery.com/api/v2,
              Name: PSGallery
          );
      
      

      Assign the role to the server
      Remediate

      Et voilà 😊
      This should work

      Cheers
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: Examples of configuring PowerShell on a fresh server (win 2019 or 2022)

      For the modules, 2 ways

      1. Create a second role which depend on the previous one and use
        Ensure-psmodule function to add the required module

      2. You don t need the set psgallery to be trusted if you use the Force in the Ensure-psmodule
        Cf https://docs.inedo.com/docs/otter-reference-operations-powershell-ensure-powershell-module

      posted in Support
      P
      philippe.camelio_3885
    • RE: GPG error updating Debian repositories

      Hello
      Just in case, starting from Ubuntu 22.04, certificates for Debian repositories stored in Proget can be imported using this command

      curl -fsSL ${proget}/${feed}/keys/${feed}.asc | sudo gpg --dearmor  -o /etc/apt/keyrings/${feed}.gpg
      

      A source file in /etc/apt/sources.list.d/ will contain

      deb [arch=amd64 signed-by=/etc/apt/keyrings/${feed}.gpg] ${proget}/${feed} ${distribution} ${components}  
      

      Best regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885

    Latest posts made by philippe.camelio_3885

    • RE: How to configure raft git in Otter

      Hello @atripp
      Oups !
      I made a mistake, I used master instead of main for the branch. 😬

      It is working fine
      Sorry for this

      Best regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • How to configure raft git in Otter

      Hello
      I am trying to create a git rafts in otter 2024.
      It should be simple but it doesn't work and I can't figure out why.

      I have done this:

      • Export the Default Raft (contains just a single script and a single role)
      • Create a Git repo on an onprem gitlab instance
      • Create a Secure Credentials
        e3389ac0-5188-4ac9-9a7f-1e236a7eca64-image.png
      • Create the new Raft : gitlab-default
        470b76a8-dfa1-4193-bca3-4cff93192f55-image.png

      Test for browsing the raft:
      5211786c-14dc-4de3-8c01-f3f0d5063bcb-{A7A5A153-F733-478B-8BEF-5E33D5850644}.png
      6a6a6a2f-d0fc-43a4-ba17-3ec9d3ceea5f-image.png

      Any help would be helpful
      Best regards
      PhilippeC.

      PS: I am using the last windows version of Otter

      posted in Support
      P
      philippe.camelio_3885
    • RE: [BM / OT] Renaming "user/password" or "private key" credentials breaks Linux config

      @atripp
      I thought the fix was for Otter ! 😂

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OTTER]Gitlab Secure Ressource gone

      @atripp
      Thank you for your time and the fix.
      I can wait for the next release.

      Best regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: |OTTER] Status filter not working for "any error"

      @atripp 😂
      Thanks for the update

      posted in Support
      P
      philippe.camelio_3885
    • RE: [BM / OT] Renaming "user/password" or "private key" credentials breaks Linux config

      @gdivis

      I made a test case,
      I can use such variable format instead the json, but the export / import still buggy
      Variable :
      @(%(Nom:"Carbon",Version:"2.15.1"))

      Export the variable

      {
        "roles": [
          {
            "name": "role-test",
            "variables": {
              "PowerShellModules": "@(%(Nom: Carbon, Version: 2.15.1))"
            }
          }
        ]
      }
      

      Try to import:

      81089926-6f83-4ef9-98b7-723cd028545e-image.png

      posted in Support
      P
      philippe.camelio_3885
    • RE: [BM / OT] Renaming "user/password" or "private key" credentials breaks Linux config

      Hi @gdivis
      Thanks for this.
      I will try this syntax.

      Best regards

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OT] Modifying a server configuration triggers a full "Server Check"

      Hi Dean
      Thank you
      This is helpfull.
      I will dig a little bit and let you know if I found something.
      Best regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OT] Modifying a server configuration triggers a full "Server Check"

      Hello @stevedennis
      Just a question, if we put the database problem aside, why a full ServerCheck is started every time a creation / modification is made for a server ? Is it the expected behavior ?

      Version
      Otter docker 2023.4
      SQL : docker express:2019-latest

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OT] Modifying a server configuration triggers a full "Server Check"

      @stevedennis

      I have done some db maintenance (mainly for defrag index), but as I am not a dba guy and I don't have too much for debugging so it is difficult for me to found some missing index.

      posted in Support
      P
      philippe.camelio_3885